activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stan Lewis <sle...@fusesource.com>
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:

http://localhost:8080/demo/message/abc?type=queue&clientId=myid&JMSTimeToLive=5000

That should set the message expiry for you.

On Fri, Sep 10, 2010 at 6:00 PM, ChicagoBob123 <bobt@bobfx.com> 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: http://activemq.2283324.n4.nabble.com/Queue-control-Or-message-expiration-tp2535135p2535135.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
View raw message