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 <b...@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. >