You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by mjustin <mi...@gmx.net> on 2009/01/24 12:09:38 UTC

Correct STOMP headers for unsubscribe of durable consumers?

Hello
How would the STOMP header look like for a unsubscribe of a durable
subscription?

I tried these headers:

activemq.subscriptionName=subscription name
destination=topic name
client-id=the client id
id=topic name

Using ActiveMQ 5.2 and my own Delphi STOMP client.

I have found JIRA entries which seem to confirm that it should work in 5.2,
however I am not sure if the issue was related to the Java STOMP client
implementation.

Best Regards
Michael Justin

-- 
View this message in context: http://www.nabble.com/Correct-STOMP-headers-for-unsubscribe-of-durable-consumers--tp21639500p21639500.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Correct STOMP headers for unsubscribe of durable consumers?

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi Michael

you should use activemq.subscriptionName for subscribe/unsubscribe and
client-id for connect/disconnect frames. Take a look at
StompTest.testDurableUnsub() for an example.

Cheers
--
Dejan Bosanac

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Sat, Jan 24, 2009 at 12:09 PM, mjustin <mi...@gmx.net> wrote:

>
> Hello
> How would the STOMP header look like for a unsubscribe of a durable
> subscription?
>
> I tried these headers:
>
> activemq.subscriptionName=subscription name
> destination=topic name
> client-id=the client id
> id=topic name
>
> Using ActiveMQ 5.2 and my own Delphi STOMP client.
>
> I have found JIRA entries which seem to confirm that it should work in 5.2,
> however I am not sure if the issue was related to the Java STOMP client
> implementation.
>
> Best Regards
> Michael Justin
>
> --
> View this message in context:
> http://www.nabble.com/Correct-STOMP-headers-for-unsubscribe-of-durable-consumers--tp21639500p21639500.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Re: Correct STOMP headers for unsubscribe of durable consumers?

Posted by Theo Bot <th...@proxy.nl>.
Bhanu

Please check-out the Net::Stomp page. They helped my out before

Theo

On Thu, May 3, 2012 at 12:35 PM, Bhanu <xb...@gmail.com> wrote:

> mjustin <mi...@...> writes:
>
> >
> >
> > Hello
> > How would the STOMP header look like for a unsubscribe of a durable
> > subscription?
> >
> > I tried these headers:
> >
> > activemq.subscriptionName=subscription name
> > destination=topic name
> > client-id=the client id
> > id=topic name
> >
> > Using ActiveMQ 5.2 and my own Delphi STOMP client.
> >
> > I have found JIRA entries which seem to confirm that it should work in
> 5.2,
> > however I am not sure if the issue was related to the Java STOMP client
> > implementation.
> >
> > Best Regards
> > Michael Justin
> >
>
> Hey Michael,
>
> Were you able to get this working for perl clients?? My perl client never
> unsubscribes successfully resulting in inactive durable subscribers.
> Please help if you have solved this mystery !
>
> Thanks,
> Bhanu
>
>
>


-- 
Met vriendelijke groet,

Theo Bot
Network Management Engineer
Tel: +31653965698
e-mail: theo.bot@proxy.nl
Website: http://www.proxy.nl
LinkedIn: http://www.linkedin.com/in/theobot

Re: Correct STOMP headers for unsubscribe of durable consumers?

Posted by Bhanu <xb...@gmail.com>.
mjustin <mi...@...> writes:

> 
> 
> Hello
> How would the STOMP header look like for a unsubscribe of a durable
> subscription?
> 
> I tried these headers:
> 
> activemq.subscriptionName=subscription name
> destination=topic name
> client-id=the client id
> id=topic name
> 
> Using ActiveMQ 5.2 and my own Delphi STOMP client.
> 
> I have found JIRA entries which seem to confirm that it should work in 5.2,
> however I am not sure if the issue was related to the Java STOMP client
> implementation.
> 
> Best Regards
> Michael Justin
> 

Hey Michael,

Were you able to get this working for perl clients?? My perl client never 
unsubscribes successfully resulting in inactive durable subscribers.
Please help if you have solved this mystery !

Thanks,
Bhanu