How to stop retry continously
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 working ** -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-stop-retry-continously-tp4729842.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: How to stop retry continously
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-tp4729842p4729851.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: How to stop retry continously
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 ActiveMQ - User mailing list archive at Nabble.com.