Re: How to drop failed requests from queue

2015-05-28 Thread Barath Kumar
Hi, "setTimeToLive" works. Thanks for your help. You saved my application. Regards, Barath Kumar On Thu, May 28, 2015 at 1:03 PM, Timothy Bish wrote: The docs are a good place to start http://docs.oracle.com/javaee/1.4/api/javax/jms/MessageProducer.html Use a MessageProducer send

Re: How to drop failed requests from queue

2015-05-28 Thread Barath Kumar
Hi, Thanks for your reply. How do I set the parameter "Time To Live" ? What java API I should use for it. Regards, Barath Kumar On Thu, May 28, 2015 at 12:40 PM, Timothy Bish wrote: Have you thought about setting a Time To Live when you send the messages so that they get expired a

How to drop failed requests from queue

2015-05-28 Thread Barath Kumar
consumers fail to respond. I am using Active MQ version 5.5.1 Regards, Barath Kumar