You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by michael e <mi...@outlook.fr> on 2019/12/26 16:51:48 UTC

Configuring DLQ bug

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