You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Raul Kripalani (JIRA)" <ji...@apache.org> on 2013/08/25 16:44:51 UTC

[jira] [Resolved] (CAMEL-6667) Loop EIP doesn't honour copy option in some circumstances

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

Raul Kripalani resolved CAMEL-6667.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.11.2
                   2.10.7
    
> Loop EIP doesn't honour copy option in some circumstances
> ---------------------------------------------------------
>
>                 Key: CAMEL-6667
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6667
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.12.0
>            Reporter: Raul Kripalani
>            Assignee: Raul Kripalani
>              Labels: loop
>             Fix For: 2.10.7, 2.11.2, 2.12.0
>
>
> Happens when the Async Routing Engine variant of the Loop logic kicks in, and there are more than two processors in the loop body, e.g. 
> \\
> \\
> {code:java}
> .loop(3)
>   .to("activemq:queue:abc?exchangePattern=InOut")
>   .to("activemq:queue:def?exchangePattern=InOut")
> .end()
> {code}
> The wrong inflight Exchange is copied (instead of the original one), and since the implicit Pipeline has copied the OUT message from the 1st endpoint to the IN message, the original IN message is lost fully.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira