[ 
https://issues.apache.org/jira/browse/CAMEL-14335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

michael elbaz updated CAMEL-14335:
----------------------------------
    Description: 
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 consume some data from rabbitmq 
then i d'ont get the original body but the transformed one after when i push 
another message (without restarting my module) i will get the originalBody

  was:
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 consume some data from rabbitmq 
then i d'ont get the original body but the transformed one after when i push 
another message (and my module still run) i will get the originalBody


> 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 consume some data from rabbitmq 
> then i d'ont get the original body but the transformed one after when i push 
> another 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