DurableSubscriber
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Nuno_Martins
Posted On:   Wednesday, May 21, 2003 06:25 AM

Hi all,


Using JMS with J2EE, this exception is thrown

javax.jms.JMSException: Error creating durable subscriber: subscriber is active


How can two durable subscribers be active at same time in same topic ?
Does Client ID must be different or Subscription ID must be different?


Thanks,

Nuno Martins

Re: DurableSubscriber

Posted By:   Nick_Maiorano  
Posted On:   Wednesday, May 21, 2003 10:21 PM

Nuno,



I assume you are getting this error by using TopicSubscriber.createDurableSubscriber(). If so, then each client must subscribe using a unique id. Your error indicates that you are subscribing more than once with the same client id.

About | Sitemap | Contact