activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alvaro Carrasco <alv...@epliant.com>
Subject Stomp and durable-subscriber-name
Date Tue, 17 Apr 2007 18:27:02 GMT
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


Mime
View raw message