activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco.Crivellaro" <marco.cr...@gmail.com>
Subject Re: actively close a durable subscription
Date Mon, 18 Feb 2013 21:09:08 GMT
I guess in NMS this should correspond to
ISession.DeleteDurableConsumer("name")

I've tried this but the durable subscription is still shown on Offline
Durable Topic Subscriber list on Web Console.


this is the way the consumer is started:

_nmsConnection.Start()                
_nmsSession = _nmsConnection.CreateSession()
_nmsSubscriptonListener = New
Spring.Messaging.Nms.Listener.SimpleMessageListenerContainer()
_nmsNotificationConsumer =
_nmsSession.CreateDurableConsumer(_nmsNotificationTopic,
															"name",
															topicSelector.ToString(),
															False) 'TODO check this last flag
AddHandler _nmsNotificationConsumer.Listener, AddressOf OnNMSMessage




and this is how it is stopped (should be...):


_nmsSession.DeleteDurableConsumer("name")



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

Mime
View raw message