Re: How to drop failed requests from queue

2015-05-28 Thread Kevin Burton
> "setTimeToLive" works. Thanks for your help. You saved my application. > Ha! That rocks! -- Founder/CEO Spinn3r.com Location: *San Francisco, CA* blog: http://burtonator.wordpress.com … or check out my Google+ profile

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 call that ac

Re: How to drop failed requests from queue

2015-05-28 Thread Timothy Bish
On 05/28/2015 12:53 PM, Barath Kumar wrote: > 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 The docs are a good place to start http://docs.oracle.com/javaee/1.4/api/javax/jms/MessageProducer.html Use a Me

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 and removed f

Re: How to drop failed requests from queue

2015-05-28 Thread Timothy Bish
On 05/28/2015 12:33 PM, Barath Kumar wrote: > Hi, > > I am a newbie to ActiveMQ. Sometimes, I have slow consumers who sometimes > do not respond to the requests. But I find these requests are still in the > queue. After some time, this queue gets filled and no new requests are > placed in the queue