Thanks i intercepted the message and added an expires header to the STOMP ,
ActiveMQ stomp doesn't support ttl right ?

On Fri, Mar 18, 2016 at 4:38 AM Tim Bain [via ActiveMQ] <
ml-node+s2283324n4709663...@n4.nabble.com> 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" <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4709663&i=0>> 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.
> >
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://activemq.2283324.n4.nabble.com/ActiveMQ-Queue-TTL-tp4709580p4709663.html
> To unsubscribe from ActiveMQ Queue TTL, click here
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4709580&code=c2hhaGJvdXJAZ21haWwuY29tfDQ3MDk1ODB8LTE4Mzg3NzU0ODM=>
> .
> NAML
> <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-Queue-TTL-tp4709580p4709670.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to