I have a durable topic subscriber that I start the following way:

                TopicConnection topicConn = 
connectionFactory.createTopicConnection();
                topicConn.setClientID("durable");

                TopicSession topicSession = topicConn.createTopicSession(false,
                                   Session.AUTO_ACKNOWLEDGE);

                Topic topic = topicSession.createTopic(topicName);


                TopicSubscriber subscriber = 
topicSession.createDurableSubscriber(topic,
"MySubsriber");

                subscriber.setMessageListener(listener);
                topicConn.start();

If I shut down ActiveMQ broker when the client is running, this shuts down
the client as well. I don't see any exception thrown. 

Am I missing something with configuration? 

Thanks
Gali

--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Shutting-down-ActiveMQ-kills-topic-subscriber-client-tp3699908p3699908.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to