activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From quoc_thai <>
Subject Create durable topic subscriber ?
Date Mon, 18 Oct 2010 07:58:52 GMT

Hi all,

   From the 
   I want create a durable topic subscriber but at the consumer, I receive
some error "You cannot create a durable subscriber without specifying a
unique clientID on a Connection"
   At the consumer, my code fragment:
   Topic topic = consumer.getSession().createTopic("STOCKS." + stock);
   TopicSubscriber consumer =
   consumer.setMessageListener(new Listener());
   Can show me some code fragments to create durable topic ?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message