This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • IRC
Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 9 Next »

IRC Component

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

URI format

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

or in 2.0 you can do:

irc:nick@host[:port]?channels=#channel1,#channel2,#channel3

Options

Name

Description

Example

Required?

Default Value

channels

New in 2.0, comma separated list of IRC channels to join

channels=#channel1,#channel2

no

null

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

colors

whether or not the server supports color codes

true, false

no

true

onReply

whether or not to handle general responses to commands or informational messages

true, false

no

false

onNick

handle nickname change events

true, false

no

true

onQuit

handle user quit events

true, false

no

true

onJoin

handle user join events

true, false

no

true

onKick

handle kick events

true, false

no

true

onMode

handle mode change events

true, false

no

true

onPart

handle user part events

true, false

no

true

onTopic

handle topic change events

true, false

no

true

onPrivmsg

handle message events

true, false

no

true

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