Hi,
From the docs, it seems that to create a durable subscriber using stomp you need to use the header: activemq.subscriberName

Why are we not using the header "durable-subscriber-name" described in http://stomp.codehaus.org/Stomp+JMS? (maybe that didn't exist when the stomp transport was written)

I think, all it would take is adding the header to the Stomp.Headers.Subscribe interface and setting it in FrameTranslator.java:

+ o = headers.remove(Stomp.Headers.Subscribe.DURABLE_SUBSCRIBER_NAME);
         + if (o != null) {
+ msg.setObjectProperty("activemq.subscriptionName", (string) o);
         + }


Alvaro

Reply via email to