[ https://issues.apache.org/jira/browse/CAMEL-13121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937697#comment-16937697 ]
Dmitry Volodin commented on CAMEL-13121: ---------------------------------------- [~jondruse], I think it could be possible solution to log an error for this case and could be applied via PR. > Route irc->irc cycles the message because of "irc.target" header > ---------------------------------------------------------------- > > Key: CAMEL-13121 > URL: https://issues.apache.org/jira/browse/CAMEL-13121 > Project: Camel > Issue Type: Bug > Components: camel-irc > Affects Versions: 2.21.0 > Reporter: Radovan Netuka > Assignee: Dmitry Volodin > Priority: Minor > > Configure this route: > from("irc://priv@localhost:6667/test1") > .log("${headers}") > .to("irc://chan@localhost:6667/test2"); > > Send private message to user _priv._ > > Expected result: > The message is routed to user _chan._ > > Actual result: > The message is routed back to user _priv_ and enters an infinite loop > > Cause: > Inside camel-core Pipeline, the IRC message has still its old target set in > its properties. -- This message was sent by Atlassian Jira (v8.3.4#803005)