IRC Component
The irc component implements an IRC (Internet Relay Chat) transport.
URI format
irc:nick@host[:port]/#room[?options]
In Camel 2.0, you can also use the following format:
irc:nick@host[:port]?channels=#channel1,#channel2,#channel3[?options]
You can append query options to the URI in the following format, ?option=value&option=value&...
Options
Name |
Description |
Example |
Default Value |
---|---|---|---|
|
New in 2.0, comma separated list of IRC channels to join. |
|
|
|
The nickname used in chat. |
|
|
|
The IRC server user name. |
|
Same as nickname. |
|
The IRC server password. |
|
None |
|
The IRC user's actual name. |
|
None |
|
Whether or not the server supports color codes. |
|
|
|
Whether or not to handle general responses to commands or informational messages. |
|
|
|
Handle nickname change events. |
|
|
|
Handle user quit events. |
|
|
|
Handle user join events. |
|
|
|
Handle kick events. |
|
|
|
Handle mode change events. |
|
|
|
Handle user part events. |
|
|
|
Handle topic change events. |
|
|
|
Handle message events. |
|
|
|
New in 2.0, the trust manager used to verify the SSL server's certificate. |
|
The default trust manager, which accepts all certificates, will be used. |
SSL Support
As of Camel 2.0, you can also connect to an SSL enabled IRC server, as follows:
ircs:host[:port]/#room?username=user&password=pass
By default, the IRC transport uses SSLDefaultTrustManager. If you need to provide your own custom trust manager, use the trustManager
parameter as follows:
ircs:host[:port]/#room?username=user&password=pass&trustManager=#referenceToMyTrustManagerBean