JMS durable subscriber question

In JMS, we can associate a client id to a topicconnectionfactory. I want to

know the significance of this client id.

to implement a durable subscriber is it always necessary that the topic

connectionfactory has a client id?

also in the createDurableSubscriber() interface, the second argument is

what is called as 'subscriptionName'. Is this the same string as that of the

client id? I am not able to get this durable subscription working as of

with weblogic jmsserver.

Does any one have a working simple example of a publisher and a durable

subscriber?

Thanks

[643 byte] By [smnaveen] at [2007-9-26 3:39:07]
# 1

Examples that comes with the O'Reilly book on the subject can be found at http://examples.oreilly.com/javmesser

In there you can find a couple of examples on durable subscriptions.

For other questions you have refer to the JMS specifications http://java.sun.com/products/jms/jms1_0_2-spec.pdf

neville_sequeira at 2007-6-29 12:13:28 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
ClientID is unique for each TopicConnection object (not connection factory) Incase of durable subscribers each subscriber is uniquely identified with clientID+ subscriber name
rajdeepdua at 2007-6-29 12:13:28 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...