[jboss-user] [Messaging, JMS & JBossMQ] - Re: The connection has already a clientID

npujol do-not-reply at jboss.com
Wed Dec 6 19:52:24 EST 2006


Because you have defined this:

            <DurableSubscription>
  |                       <ClientID>TPCAddSchool</ClientID>
  |                       <Name>TPCAddSchool</Name>
  |                        <Topic>addschool</Topic>
  |              </DurableSubscription>

the clientid will be set automatically by jbossmq on the connection for user TPCAddSchool. If you want to connect to the topic you should not be specifying TopicConnection.setClientID. The exception you are seeing is per the JMS spec. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991825#3991825

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991825



More information about the jboss-user mailing list