- 
        1. Re: Can I use durable topic to send and receive at the sameadrian.brock Oct 10, 2003 5:13 AM (in response to arabin)A durable subscription is connected to the client id. 
 The client id can only login once.
 You do not need to be logged in as that client to send a message
 to the topic.
 Regards,
 Adrian
- 
        2. Re: Can I use durable topic to send and receive at the samearabin Oct 10, 2003 8:11 AM (in response to arabin)Can several subscribers listen to the durable topic at the same time? Could they possibly have separate client ids? 
- 
        3. Re: Can I use durable topic to send and receive at the sameadrian.brock Oct 10, 2003 8:17 AM (in response to arabin)Yes, each gets their own copy of the message. 
 As opposed to a queue where all receivers compete for the
 same messages.
 Regards,
 Adrian
- 
        4. Re: Can I use durable topic to send and receive at the samearabin Oct 10, 2003 10:10 AM (in response to arabin)Can thise ids be created programmatically? (Versus entries in the file jbossmq-state.xml ? 
- 
        5. Re: Can I use durable topic to send and receive at the sameadrian.brock Oct 10, 2003 10:16 AM (in response to arabin)javax.jms.Connection.setClientID() 
 Have you read the spec?
 Regards,
 Adrian
- 
        6. Re: Can I use durable topic to send and receive at the samearabin Oct 10, 2003 3:05 PM (in response to arabin)I have this, even if I use the same client id, that is inside jbossmq-state.xml file: 
 javax.jms.IllegalStateException: The connection has already a clientID
 at org.jboss.mq.Connection.setClientID(Connection.java:339)
 at com.teamworks.client.DurableTopicClient.setupPubSub(DurableTopicClient.java:60)
 at com.teamworks.client.DurableTopicClient.sendRecvAsync(DurableTopicClient.java:72)
 at com.teamworks.client.DurableTopicClient.main(DurableTopicClient.java:99)
 Exception in thread "main" Process terminated with exit code 1
- 
        7. Re: Can I use durable topic to send and receive at the sameadrian.brock Oct 10, 2003 3:13 PM (in response to arabin)You cannot set the client id on the connection 
 if it is configured in jbossmq-state.xml
 Also, only that user can use that client id.
 Regards,
 Adrian
- 
        8. Re: Can I use durable topic to send and receive at the samearabin Oct 11, 2003 2:34 PM (in response to arabin)Thanks. 
 It works
 
    