Re: Camel JMS consumer with dynamic selector to read ActiveMQ DLQueues

2025-03-11 Thread Robbie Gemmell
I haven't used it personally, but on your last point around setting expiration on DLQ messages...a quick google turned up this page suggesting it can do that since 5.12.0: https://activemq.apache.org/components/classic/documentation/message-redelivery-and-dlq-handling Look for the section headed "

Re: Camel JMS consumer with dynamic selector to read ActiveMQ DLQueues

2025-03-11 Thread Ephemeris Lappis
Hello We're using ActiveMQ "classic" 5.18.3 Regards. Le mar. 11 mars 2025 à 15:01, Justin Bertram a écrit : > Are you using ActiveMQ Classic or ActiveMQ Artemis? Also which version are > you using? > > > Justin > > On Tue, Mar 11, 2025 at 8:08 AM Ephemeris Lappis < > ephemeris.lap...@gmail.com

Re: Camel JMS consumer with dynamic selector to read ActiveMQ DLQueues

2025-03-11 Thread Ephemeris Lappis
Hello. Original messages globally (we already have some kind of messages that use it) must not have a time to live. And I found no way to tell ActiveMQ to add a time to live when a message is moved to a DLQ by a rollback of the recipient process :I don't think we have to change the transaction han

Re: Camel JMS consumer with dynamic selector to read ActiveMQ DLQueues

2025-03-11 Thread Justin Bertram
Are you using ActiveMQ Classic or ActiveMQ Artemis? Also which version are you using? Justin On Tue, Mar 11, 2025 at 8:08 AM Ephemeris Lappis wrote: > Hello. > > I'm looking for a simple way to clean DLQ queues on our ActiveMQ brokers. > Messages are moved to DLQ queues when some unexpected co

RE: Camel JMS consumer with dynamic selector to read ActiveMQ DLQueues

2025-03-11 Thread Mattern, Alex
If you are just looking to trash old messages then use the timeToLive setting when producing messages on the DLQ. https://camel.apache.org/components/4.10.x/eips/message-expiration.html If you want a manually triggered process, then you can create a consumer application that consumes X number of