Specify multiple IRC channels in one URI for camel-irc
------------------------------------------------------

                 Key: CAMEL-1908
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1908
             Project: Apache Camel
          Issue Type: Improvement
    Affects Versions: 2.0-M3
            Reporter: Stan Lewis
             Fix For: Future
         Attachments: patch.txt

Currently there's no way to specify more than one IRC channel in a camel-irc 
URI, the code explicitly checks for #blah to be in the URI fragment.  This 
patch maintains the existing URI format but also adds a "channels" option as 
well as a comma-separated list of channels.  I've also modified the producer to 
pay attention to the "irc.target" header, if that's not set then messages go to 
all channels the producer is connected to.

Have modified the IrcPrivmsgTest to take advantage of this and added a multiple 
channel test as well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to