How to stop retry continously

2017-08-20 Thread asliyan...@gmail.com
I have develop small activemq message application using ProducerTemplate . Its working fine.But when the ActiveMQ server is not available it keep trying to send message to queue . So i need to find a way to stop keep trying this.I try to add timeout in connection factory as below. but still not wor

Re: How to stop retry continously

2017-08-20 Thread asliyan...@gmail.com
i need to handle the exception when the broker is not available. Currently if broker is down my produser always try to send message to queue and it doesn't stop the trying send the message -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-stop-retry-continously-tp472

Re: How to stop retry continously

2017-08-20 Thread asliyan...@gmail.com
how can i addd the sendTimeout setting. the example you given dones't have proper details. can you please tell me how to add sendTimeout to my project? -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-stop-retry-continously-tp4729842p4729853.html Sent from the Ac