Re: Unable to stop producer

2014-10-13 Thread bansalp
Hi, I am not expecting my producer to exist after it looses connection from broker. I want my client to stop when I want them to stop, but with producer its not happening. I had to do a kill -9 pid to stop the process (kill pid is not working). Am unable to understand this behaviour of producer.

Re: Unable to stop producer

2014-10-13 Thread Tim Bain
The failover transport's behavior is "connect to any one of the URIs in this set; if that connection dies, try connecting again to any URI in the set." By default, the failover transport will log if it is unable to get a connection to any of the URIs, and then wait for a while and try again. When

Re: javax.jms.InvalidClientIDException for durable subscription on broker restart

2014-10-13 Thread khandelwalanuj
Some observation : I saw this exception in ActiveMQ setup again. This time I restarted broker with "AllowLinkStealing" and issue got resolved. Again I restarted broker with normal configuration (without "AllowLinkStealing"), I didn't see the issue. Can I use "AllowLinkStealing" for workaround

Re: Unable to stop producer

2014-10-13 Thread bansalp
I have tried with failover broker as well ('failover(tcp://host1:61616,tcp://host2:61616)'), but still same problem. What could be reason for this. -- View this message in context: http://activemq.2283324.n4.nabble.com/Unable-to-stop-producer-tp4686340p4686346.html Sent from the ActiveMQ - Use

Unable to stop producer

2014-10-13 Thread bansalp
. *[20141013 12:27:12.469 IST (ActiveMQ Task-3) org.apache.activemq.transport.failover.FailoverTransport#getConnectList 804 DEBUG] - urlList connectionList:[tcp://host:61616], from: [tcp://host:61616] [20141013 12:27:12.470 IST (ActiveMQ Task-3) org.apache.activemq.transport.failover.FailoverTransport