[
https://issues.apache.org/jira/browse/CAMEL-13121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16752130#comment-16752130
]
Dmitry Volodin commented on CAMEL-13121:
----------------------------------------
[~rnetuka], it looks like not related to message target property. It takes this
property from header
[https://github.com/apache/camel/blob/e34b4f87d1aecf739c7dd142e480019dfa189848/components/camel-irc/src/main/java/org/apache/camel/component/irc/IrcProducer.java#L45]
I will look at this issue more detail with real test case and server.
> 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: Major
>
> 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
(v7.6.3#76005)