Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13121

Route irc->irc cycles the message because of "irc.target" header

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.21.0
    • Fix Version/s: 3.0.0.RC2, 3.0.0, 2.25.0
    • Component/s: camel-irc
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dmvolod Dmitry Volodin
                Reporter:
                rnetuka Radovan Netuka
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m