[ 
https://issues.apache.org/activemq/browse/CAMEL-1908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stan Lewis updated CAMEL-1908:
------------------------------

    Attachment: patch.txt

Hey Claus,

Just realized I forgot to add the unit test before creating the patch, here's 
the test for this one.

> 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
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.1.0
>
>         Attachments: patch.txt, 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