activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: How to drop failed requests from queue
Date Thu, 28 May 2015 16:40:48 GMT
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.
>
> How do I drop these requests from the queue if the consumers fail to
> respond.
>
> I am using Active MQ version 5.5.1
>
> Regards,
> Barath Kumar
>
Have you thought about setting a Time To Live when you send the messages
so that they get expired and removed from the Queue?

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.redhat.com 
twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message