activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: ActiveMQ Queue TTL
Date Fri, 18 Mar 2016 12:57:12 GMT
Take a look at the TimeStampPlugin which has an option to set a TTL on 
messages that arrive without one.
http://activemq.apache.org/timestampplugin.html

On 03/18/2016 12:38 AM, Tim Bain wrote:
> Time to live must be set by the producer; I'm not aware of a built-in way
> to set it from the broker.  The one thing you might be able to do is use an
> embedded Camel route to set that attribute on each message as they are
> received by the broker, but I've never tried that so I can't promise it'll
> work.
> On Mar 17, 2016 1:33 PM, "shahbour" <shahbour@gmail.com> wrote:
>
>> Hello
>>
>> I want to set a default Time to live for all messages in a queue , is it
>> possible and how
>>
>> BR
>> Shahbour
>>
>>
>>
>> --
>> View this message in context:
>> http://activemq.2283324.n4.nabble.com/ActiveMQ-Queue-TTL-tp4709580.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>


-- 
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/


Mime
View raw message