Replies: 1 comment 1 reply
-
In ActiveMQ, for a message to end up in DLQ, it needs to be rolled back. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tested quarkus-smallrye-reactive-messaging-amqp with ActiveMQ Classic 5.18.3 and server side redelivery configuration successfull. In case of failure the messages go to my DLQ. Quarkus version 3.2.9.Final.
Now I'd like to test the same with smallrye-reactive-messaging-jms (ActiveMQ Classic configuration is the same like in AMQP test except that AMQP is deactivated and openwire is configured).
My config:
My Method:
My bean producer method (activemq-client:6.0.0):
In case the RuntimeException is thrown, the message just gets acknowledged (instead of pushed back and retried) and no message is sent to the outgoing queue.
In case no exception is thrown, the message passes the queue successfully.
I did not find much documentation on smallrye-reactive-messaging-jms and error handling. Is it possible to push back messages to the queue, redeliver them and (in case of another Exception) get them to DLQ?
I miss some config like in AMQP where I could add some failure-strategy: failure-strategy=modified-failed-undeliverable-here
Beta Was this translation helpful? Give feedback.
All reactions