You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

IRC Component

The irc: component implements an IRC (Internet Relay Chat) transport.

URI format

irc:nick@host[:port]/#room

Options

Name

Description

Example

Required?

Default Value

nickname

The nickname used in chat

irc:MyNick@irc.server.org#channel or irc:irc.server.org#channel?nickname=MyUser

no

null

username

The IRC server user name

irc:MyUser@irc.server.org#channel or irc:irc.server.org#channel?username=MyUser

no

the nickname

password

The IRC server password

password=somepass

no

Nothing

realname

The IRC user's actual name

realname=MyName

no

Nothing

trustManager

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

SSL Support

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
  • No labels