Raul Kripalani created CAMEL-6667: ------------------------------------- Summary: 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 Fix For: 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