Claus Ibsen wrote:
Hi
Yeah TX and error handling is hard.
For background on error handling in Camel start from here:
http://camel.apache.org/error-handling-in-camel.html
Basically you cannot use TX with DeadLetterChannel.
All redelivery and whatnot is totally in the hands of the backing system.
So you should d configure the backing system how it should handle redelivery.
If you use AMQ then it has configuration to setup number of
redeliveries, delay intervals,
and the dead letter queue etc. There is a bit info here:
http://activemq.apache.org/redelivery-policy.html
Thanks for the hint, I changed the connection URI
to tcp://xxx:61616?jms.redeliveryPolicy.maximumRedeliveries=-1
and now it retries forever.
BTW: Which version of Camel are you using?
1.6.0
Jörn