Hello I'm getting weird comportement when i try to use the original body

    DeadLetterChannelBuilder deadLetterChannelBuilder = new 
DeadLetterChannelBuilder();
    deadLetterChannelBuilder.setRedeliveryPolicy(new 
RedeliveryPolicy().disableRedelivery());
    deadLetterChannelBuilder.useOriginalBody();


When i start my module for the first time is consuming some data from rabbitmq 
then i don't get the original body (when error happen) but the transformed one 
later when i push the same 'wrong' message (without restarting my module) i 
will get the originalBody

i also open a ticket (https://issues.apache.org/jira/browse/CAMEL-14335)

Elbaz Michael


Reply via email to