Hello.
I guess that "zeroExpirationOverride" could force the expiration on
messages, but it seems to apply to all queues/topics, right ?
Is there any way to limit the plugin to few queues only ?
Thanks.
Regards.
Ephemeris Lappis
Le 31/03/2023 à 20:13, Matt Pavlovich a écrit :
Hello
Hello Ephemeris-
I think this would do it for you:
https://activemq.apache.org/timestampplugin
Thanks,
Matt Pavlovich
> On Mar 31, 2023, at 10:02 AM, Ephemeris Lappis
> wrote:
>
> OK. Is there a chance I find a similar configuration for the classic version ?
> I guess that for DLQ I can set
Hi Ephemeris-
I think you’d want to reverse that logic.. 'JMSTimestamp <= 125252…' <— this
needs to be a long value of now() - 360 or whatever calculation you are
looking for.
Selector examples:
https://timjansen.github.io/jarfiller/guide/jms/selectors.xhtml
Thanks,
Matt Pavlovich
>
Hello.
Have you any example of working selectors to compute the age from the
JMSTimestamp, if it's possible, something like "JMSTimestamp + 360
> now()" ?
Thanks again.
Regards.
Le ven. 31 mars 2023 à 16:43, Matt Pavlovich a écrit :
>
> Hello Ephemeris-
>
> Yes, simply use the
OK. Is there a chance I find a similar configuration for the classic version ?
I guess that for DLQ I can set multiple policy entries with distinct strategies.
Reading the XML configuration reference, for now I didn't find any
policy to force message expiration (time to live) for some queues :
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
> wrote:
>
> Hello.
>
> We need to consume messages from some queues (using Camel JMS
> component) only when messages are older than a
On 3/31/23 10:22, Ephemeris Lappis wrote:
Hello.
Thanks. I'm going to have a look at these configuration items. Do you
confirm this also work for "classic" ActiveMQ (we do not use Artemis)
?
The configuration for ActiveMQ Classic and ActiveMQ Artemis are not
interchangeable.
Regards.
Le
Hello.
Thanks. I'm going to have a look at these configuration items. Do you
confirm this also work for "classic" ActiveMQ (we do not use Artemis)
?
Regards.
Le ven. 31 mars 2023 à 15:04, Dondorp, Erwin
a écrit :
>
> See
>
But an even better solution is to configure NO DLQ for such address.
Again in :
e.
-Original Message-
From: Dondorp, Erwin
Sent: vrijdag 31 maart 2023 15:04
To: users@activemq.apache.org
Subject: RE: ActiveMQ / configure queues
See
See
https://activemq.apache.org/components/artemis/documentation/latest/message-expiry.html
There are the address-parameters: min-expiry-delay and max-expiry-delay
-Original Message-
From: Ephemeris Lappis
Sent: vrijdag 31 maart 2023 15:01
To: users@activemq.apache.org
Subject:
Hello.
Is there any way to configure queues on the server side with specific
settings like "time to live" for example ? The same way, I'd like to
enable or disable DLQ for some queues.
Our XML configuration already uses policies like :
Can I set similar policies to exclude DLQ for queues
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.
12 matches
Mail list logo