[
https://issues.apache.org/jira/browse/ARTEMIS-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306547#comment-15306547
]
Lionel Cons commented on ARTEMIS-413:
-------------------------------------
After checking, it seems indeed that some basic support for durable
subscriptions exists in STOMP. It should really be documented...
For the record, if a {{client-id}} header is used in the {{CONNECT}} frame
*and* a {{durable-subscriber-name}} header is used in the {{SUBSCRIBE}} frame
then Artemis will create the required queue in its core (named
_client-id_._durable-subscriber-name_) to hold the messages while the
subscriber is disconnected.
However, I did not find a way to delete a durable subscription, something that
Apollo does support.
Also, I did not find a way to create a durable subscription from the Artemis
configuration. This is required in case the producer connects to send a message
before the subscriber first connects to subscribe. Here again, this
pre-creation of durable subscriptions is supported in Apollo (and in ActiveMQ 5
via virtual queues).
> Durable topic subscriptions should be supported via STOMP
> ---------------------------------------------------------
>
> Key: ARTEMIS-413
> URL: https://issues.apache.org/jira/browse/ARTEMIS-413
> Project: ActiveMQ Artemis
> Issue Type: New Feature
> Components: Stomp
> Reporter: Lionel Cons
>
> Artemis supports durable topic subscriptions but it seems that this
> functionality is not available through STOMP.
> It seems that the Artemis Core has everything needed, what is missing is
> simply the mapping to STOMP.
> FWIW, Apollo does support [Topic Durable
> Subscriptions|https://activemq.apache.org/apollo/documentation/stomp-manual.html#Topic_Durable_Subscriptions]
> via the handy {{/dsub/}} destination prefix.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)