[ 
https://issues.apache.org/jira/browse/CAMEL-14335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17003687#comment-17003687
 ] 

Claus Ibsen commented on CAMEL-14335:
-------------------------------------

Please ask on the user mailing list first and also take a look at the existing 
documentation on configuring error handling, you do not use the builder clases 
above, but uses

errorHandler(xxx) in the route dsl

> Configuring DLQ
> ---------------
>
>                 Key: CAMEL-14335
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14335
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 3.0.0
>            Reporter: michael elbaz
>            Priority: Major
>
> I'm getting weird comportement when i try to use the original body
> {code:java}
>     DeadLetterChannelBuilder deadLetterChannelBuilder = new 
> DeadLetterChannelBuilder();
>     deadLetterChannelBuilder.setRedeliveryPolicy(new 
> RedeliveryPolicy().disableRedelivery());
>     deadLetterChannelBuilder.useOriginalBody();
> {code}
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to