schedule moving of messages from activemq DLQ to another queue in ActiveMQ
Wanted to know if there is any configuration that can be done in a activeMQ server that will re direct the messages from the DLQ to another queue on the same server. For Example. I have a queue "MAINQUEUE" which has a lot of messages having client ack activated, while processing if I get any exception the messages are transferred to the DLQ after some retries as expected. But I want the messages which are in the DLQ to be moved back into the MAINQUEUE after some time i.e. 5-10 min . Is there any way I can configure for it to be done automatically or I have to do it manually by writing a code. Thanks FX
There is no default mechanism for this, moving messages out of DLQ is generally considered a devops task as it should be determined why they are ending up there in the first place. If you want to do something like that you could consider using an embedded Camel route, or use the broker interceptor pattern to create such a redirect to the scheduler.
How can I get actievmq queue's size from the “org.apache.activemq.command.Message”?
Camel Activemq property JMSDestination value different between 5.12.1 and 5.13.0
ActiveMQ MQTT Producer not publish to openwire Subscriber
Is there a way to dump messages from an ActiveMQ queue and then reimport them?
ActiveMQ replicated levelDB with zookeeper, client must know all brokers?
Flush Messages in wildfly 10 (activemq) programatically
ActiveMQ - Update on Connect?
Programatically disable ActiveMQ message redelivery
How many message Id should I cache to avoid duplicate messages in ActiveMQ?
Unable to configure a distributed transaction involving ActiveMQ and embedded H2 with Atomikos
ActiveMQ network subscription issue
ActiveMQ Fail over issue with MySql DB
Active Mq : How to stop active mq from creating queue which doesnt exist
Cannot shutdown activeMQ gracefully after JMX port change
Why does a POST to an Apache ActiveMQ using the REST API add a linefeed to the end of the message?
Is it possible to have both kahaDB and memoryPersistenceAdapter for different queues in Activemq?