[
https://issues.apache.org/jira/browse/CAMEL-13121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938552#comment-16938552
]
Jiri Ondrusek commented on CAMEL-13121:
---------------------------------------
PR: https://github.com/apache/camel/pull/3200
I've added new header "irc.sendTo" to define target destination of message.
Route defined in this issue works with this change without modification.
I'm not sure about correct processes here, but I think that this change should
be mentioned in documentation for the component, as it ads new header for users
to use.
> 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
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)