Hello.

Thanks for your idea. I had a look at the JMs component unit tests,
but I've not found any that use only headers to set messages time to
live.
Could you please give us some example ?

Thanks again. Regards

Le ven. 31 mars 2023 à 18:34, Claus Ibsen <claus.ib...@gmail.com> a écrit :
>
> A good idea is to look at the unit tests in the camel components
>
> On Fri, Mar 31, 2023 at 6:27 PM Ephemeris Lappis <ephemeris.lap...@gmail.com>
> wrote:
>
> > Hello.
> >
> > I've not found any way to set messages time to live when sending to a
> > JMS (activemq) queue.
> >
> > I'd like to set headers only, without changing the endpoint URI. Is it
> > possible ?
> > I've read (and tested it too) that if a message header is set for the
> > JMSExpiration, it's not taken into account if the option
> > "preserveMessageQos" is not added into the URI. So, is there any other
> > way using other headers ?
> >
> > Thanks for your help.
> >
> > Regards.
> >
>
>
> --
> Claus Ibsen
> -----------------
> @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to