You can enable logging on the camel and activemq level to see who is doing the redelivery. You can even enable logging on the amq server side for more diagnostic info. From brief look at your code, your delay settings look weird. Your maximum delay is 1 second while your delivery delay is 2s. These are conflicting numbers. If you just want a constant delay, just set the redeliveryDelay property and leave everything else alone.
Personally I find the camel redelivery far more flexible and feature rich. I actually set my AMQ redelivery maximum to zero and configure redelivery exclusively in camel. On 29/10/2014, at 9:14 AM, dainiu5m3 <[email protected]> wrote: > Minh Tran-2 wrote >> It looks like you've configured redelivery in the activeMQ and not within >> camel. This means camel isn't the one that is doing the redelivery, >> activeMQ is. Is this what you wanted to do? > > Yes, that's right. I want to delegate redelivery task to JMS/AMQ, and > actually it works, BUT it ignores the RedeliveryPolicy settings, and uses > default ones; I not succeeded to find out why it ignores redelivery policy > seetings. Maybe I'm missing some bit in configuration?.. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/RedeliveryPolicy-is-ignored-by-ActiveMQ-in-Camel-route-configuration-tp5758235p5758265.html > Sent from the Camel - Users mailing list archive at Nabble.com.
