camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ariekenb <aaron.j.riekenb...@lmco.com>
Subject Are durable topic subscriptions destroyed?
Date Thu, 05 Mar 2009 02:38:12 GMT

If I create a durable topic subscription using the jms or activemq components
(for example
activemq:topic:myTopic?clientId=client1&durableSubscriptionName=subscription1),
does camel ever cause the durable subscription to be destroyed?  In other
words will camel ever cause session.unsubscribe to be called?  I'm working
in a situation where I'm implementing failover of a durable subscription on
different machines using camel and I want to be sure the durable
subscription does not get destroyed when the camel context is destroyed. 
Just out of curiosity, I'm also wondering how/if one can indicate he wants
the durable subscription to be destroyed when the camel context is
destroyed.

As an aside there is a small bug on this web page describing durable
subscriptions (http://camel.apache.org/jms.html).  The first paragraph under
"Notes" states "If you wish to use durable topic subscriptions, you need to
specify both clientId and durableSubscriberName."  durableSubscriberName
does not work.  The table below has the correct property:
durableSubscriptionName.
-- 
View this message in context: http://www.nabble.com/Are-durable-topic-subscriptions-destroyed--tp22344211p22344211.html
Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.


Mime
View raw message