The irc: component implements an IRC (Internet Relay Chat) transport.
irc:nick@host[:port]/#room |
or in 2.0 you can do:
irc:nick@host[:port]?channels=#channel1,#channel2,#channel3 |
Name |
Description |
Example |
Required? |
Default Value |
---|---|---|---|---|
|
New in 2.0, comma separated list of IRC channels to join |
|
no |
null |
|
The nickname used in chat |
|
no |
null |
|
The IRC server user name |
|
no |
the nickname |
|
The IRC server password |
|
no |
Nothing |
|
The IRC user's actual name |
|
no |
Nothing |
|
whether or not the server supports color codes |
|
no |
true |
|
handle nickname change events |
|
no |
true |
|
handle user quit events |
|
no |
true |
|
handle user join events |
|
no |
true |
|
handle kick events |
|
no |
true |
|
handle mode change events |
|
no |
true |
|
handle user part events |
|
no |
true |
|
handle topic change events |
|
no |
true |
|
handle message events |
|
no |
true |
|
New in 2.0, the trust manager used to verify the SSL server's certificate |
trustManager=#referenceToTrustManagerBean |
no |
A default trust manager will be used that accepts all certificates |
As of Camel 2.0, you can also connect to an SSL enabled IRC server.
ircs:host[:port]/#room?username=user&password=pass |
By default, the ircs transport will use 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 |