I would like to know the steps needed to create a durable subsrciber.
I know that we can call createDurableSubscriber over TopicSession.Above method has two parameters namely, topic and the name to identify the subscriber.This part is fine.
But I read somewhere that we also need to call setClientId() over TopicConnection or configure a TopicConnectionFactory with particular client id.. Now what is this client id. Is it going to be the same as the name given while creating durable subscriber.
Also, does it mean there is one to one mapping b/w TopicConnectionFactory and durable subscriber?
Thanks,
-Nishchit
-
JMS -- About durable subscription (1 messages)
- Posted by: Nishchit Goel
- Posted on: May 03 2001 17:50 EDT
Threaded Messages (1)
- JMS -- About durable subscription by Billy Newport on May 04 2001 00:19 EDT
-
JMS -- About durable subscription[ Go to top ]
- Posted by: Billy Newport
- Posted on: May 04 2001 00:19 EDT
- in response to Nishchit Goel
Each client thats need a durable subscription needs a unique constant client id.