activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: actively close a durable subscription
Date Mon, 18 Feb 2013 21:46:52 GMT
On 02/18/2013 04:27 PM, Marco.Crivellaro wrote:
> I've just realized calling DeleteDurableConsumer throws following error:
>
> ex = {"javax.jms.JMSException : Durable consumer is in use"}
>
>
> how can I stop the consumer before deleting it?

consumer.close() should probably do it.

>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/actively-close-a-durable-subscription-tp4663609p4663648.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message