Re: Camel JMS & transaction : redelivery conditions ignored

2024-03-12 Thread Ephemeris Lappis
Hello.Claus ! Well ! after more tests, I can confirm that on the broker side all works as expected. I've also found some way to set set the route such a way that failing messages are moved to the DLQ the same way they are when processed by applications.

Re: Camel JMS & transaction : redelivery conditions ignored

2024-03-11 Thread Ephemeris Lappis
Hello Claus. I'm not sure that I should change anything on the broker side : with the same ActiveMQ, java applications with a similar connection factory configuration (maximumRedeliveries=0) actually do a rollback on failing messages processing, and the broker moves them to DLQ queues. These

Re: Camel JMS & transaction : redelivery conditions ignored

2024-03-11 Thread Claus Ibsen
Hi You need to set this on the broker side, it's the one that does the redelivery. Every broker has their own settings for DLQ and redelivery. On Mon, Mar 11, 2024 at 2:20 PM Ephemeris Lappis wrote: > Hello. > > It seems that the JMS consumer ignores the redelivery conditions that > I set on

Camel JMS & transaction : redelivery conditions ignored

2024-03-11 Thread Ephemeris Lappis
Hello. It seems that the JMS consumer ignores the redelivery conditions that I set on my route : java.lang.Exception