Hello.

Have you any example of working selectors to compute the age from the
JMSTimestamp, if it's possible, something like "JMSTimestamp + 3600000
> now()" ?

Thanks again.

Regards.

Le ven. 31 mars 2023 à 16:43, Matt Pavlovich <mattr...@gmail.com> a écrit :
>
> Hello Ephemeris-
>
> Yes, simply use the JMSTimestamp header as the field in your selector query.
>
> Thanks,
> -Matt
>
> > On Mar 31, 2023, at 4:28 AM, Ephemeris Lappis <ephemeris.lap...@gmail.com> 
> > wrote:
> >
> > Hello.
> >
> > We need to consume messages from some queues (using Camel JMS
> > component) only when messages are older than a given number of hours
> > or days.
> >
> > I don't find any example of selector to filter messages this way.
> >
> > Any help on that ?
> >
> > Thanks in advance.
> >
> > Regards.
>

Reply via email to