activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stan Lewis <>
Subject Re: Queue control. Or message expiration
Date Fri, 10 Sep 2010 22:42:38 GMT
Looking at the code it looks like you can add JMSTimeToLive as a parameter, i.e:


That should set the message expiry for you.

On Fri, Sep 10, 2010 at 6:00 PM, ChicagoBob123 <> wrote:
> I am using http and Rest to send messages up to a queue but I want the
> messages to expire after a few seconds. (if no one dequeues them in 5
> seconds I dont want them hanging around).  Can you do that with out writting
> an application to browse the queue? Is there a setting?
> Thanks
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message