Re: "javax.jms.InvalidClientIDException" with maxConnection in pooledConnectionFactory

2014-05-15 Thread artnaseef
Yes, an InvalidClientIDException is thrown on duplicate ID. It's not possible to have more than one consumer for a durable subscription - that's a weakness of durable subscriptions, although it's actually more of a Topic vs Queue isssue. Look at VirtualTopic's to get the semantics of durable cons

Re: "javax.jms.InvalidClientIDException" with maxConnection in pooledConnectionFactory

2014-04-27 Thread khandelwalanuj
Please respond -- View this message in context: http://activemq.2283324.n4.nabble.com/javax-jms-InvalidClientIDException-with-maxConnection-in-pooledConnectionFactory-tp4680549p4680607.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: "javax.jms.InvalidClientIDException" with maxConnection in pooledConnectionFactory

2014-04-25 Thread khandelwalanuj
So if the consumer tries to create more than one connection. It will get "InvalidClientIDException". Does it mean that if a consumer is having durable subscription, it cannot use "maxConnection" of PooledConnectionFactory ? Which is wrong. Ideally broker should allow a durable consumer to have m

Re: "javax.jms.InvalidClientIDException" with maxConnection in pooledConnectionFactory

2014-04-25 Thread artnaseef
Yes, only one connection with a specific client id is allowed, as per the JMS spec. Sent from my iPhone > On Apr 24, 2014, at 11:44 PM, "khandelwalanuj [via ActiveMQ]" > wrote: > > Hi, > > ActiveMQ Broker: 5.8 > > I am using "PooledConnectionFactory" with "maxConnections = 20" for my jav

"javax.jms.InvalidClientIDException" with maxConnection in pooledConnectionFactory

2014-04-24 Thread khandelwalanuj
Hi, ActiveMQ Broker: 5.8 I am using "*PooledConnectionFactory*" with "*maxConnections = 20*" for my java consumer. According to my understanding: Broker will allow consumer to have 20 connection at a time if it is required. Question: My Consumer is subscribing to a topic with durable subscript