Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E4096200BB7 for ; Wed, 26 Oct 2016 03:31:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E2B3D160AD8; Wed, 26 Oct 2016 01:31:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 38895160AFA for ; Wed, 26 Oct 2016 03:31:59 +0200 (CEST) Received: (qmail 4134 invoked by uid 500); 26 Oct 2016 01:31:58 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 4123 invoked by uid 99); 26 Oct 2016 01:31:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2016 01:31:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 52ED82C001E for ; Wed, 26 Oct 2016 01:31:58 +0000 (UTC) Date: Wed, 26 Oct 2016 01:31:58 +0000 (UTC) From: "John D. Ament (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARTEMIS-821) Support scheduled messages with the STOMP protocol MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 26 Oct 2016 01:32:00 -0000 [ https://issues.apache.org/jira/browse/ARTEMIS-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15607031#comment-15607031 ] John D. Ament commented on ARTEMIS-821: --------------------------------------- I'm not going to be able to get to this in the next day or so.... but if someone wants to take a look, did some digging. AMQP supports this in the {{x-opt-delivery-time}} or {{x-opt-delivery-delay}} headers, which get mapped into the JMS message (core message) as a long property, ala {{jms.setLongProperty(HDR_SCHEDULED_DELIVERY_TIME.toString(), deliveryTime);}} (take a look at {{InboundTransformer}} line 110 ish for context). ActiveMQ 5.x supports something similar with AMQ specific headers, based on http://activemq.apache.org/nms/stomp-delayed-and-scheduled-message-feature.html , probably where the SO poster got these from. The simplest way forward (and perhaps someone could validate) may be to update {{copyStandardHeadersFromFrameToMessage}} in {{StompUtils}} to read these headers as well. > Support scheduled messages with the STOMP protocol > -------------------------------------------------- > > Key: ARTEMIS-821 > URL: https://issues.apache.org/jira/browse/ARTEMIS-821 > Project: ActiveMQ Artemis > Issue Type: New Feature > Affects Versions: 1.4.0 > Reporter: Jiri Danek > Priority: Blocker > Fix For: 1.5.0 > > > Scheduled messages are already supported with Core and with AMQP. Scheduled messages are JMS 2.0 feature. > I would like to request their support in STOMP protocol. This feature has been also requested in [a Stack Overflow question|http://stackoverflow.com/q/38996576/6081394]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)