IRC

IRC

Scheme: irc
Syntax: irc:hostname:port
Alternative Syntax: irc:username:password@hostname:port
Description: The irc component implements an IRC (Internet Relay Chat) transport.
Deprecated:false
Async:false
Maven: org.apache.camel/camel-irc/2.18.1.redhat-000015

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

Name Kind Group Required Default Type Enum Description
hostname path common true java.lang.String Hostname for the IRC chat server
port path common 6667,6668,6669 int Port number for the IRC chat server
autoRejoin parameter common true boolean Whether to auto re-join when being kicked
namesOnJoin parameter common boolean Sends NAMES command to channel after joining it.
{@link #onReply} has to be true in order to process the result which will have the header value irc.num = '353'.
nickname parameter common java.lang.String The nickname used in chat.
persistent parameter common true boolean Use persistent messages. @deprecated not in use
realname parameter common java.lang.String The IRC user's actual name.
bridgeErrorHandler parameter consumer boolean Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exceptionHandler parameter consumer (advanced) org.apache.camel.spi.ExceptionHandler To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN/ERROR level and ignored.
exchangePattern parameter consumer (advanced) org.apache.camel.ExchangePattern InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the exchange pattern when the consumer creates an exchange.
colors parameter advanced true boolean Whether or not the server supports color codes.
synchronous parameter advanced false boolean Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).
onJoin parameter filter true boolean Handle user join events.
onKick parameter filter true boolean Handle kick events.
onMode parameter filter true boolean Handle mode change events.
onNick parameter filter true boolean Handle nickname change events.
onPart parameter filter true boolean Handle user part events.
onPrivmsg parameter filter true boolean Handle private message events.
onQuit parameter filter true boolean Handle user quit events.
onReply parameter filter boolean Whether or not to handle general responses to commands or informational messages.
onTopic parameter filter true boolean Handle topic change events.
nickPassword parameter security java.lang.String Your IRC server nickname password.
password parameter security java.lang.String The IRC server password.
sslContextParameters parameter security org.apache.camel.util.jsse.SSLContextParameters Used for configuring security using SSL. Reference to a org.apache.camel.util.jsse.SSLContextParameters in the Registry. This reference overrides any configured SSLContextParameters at the component level. Note that this setting overrides the trustManager option.
trustManager parameter security org.schwering.irc.lib.ssl.SSLTrustManager The trust manager used to verify the SSL server's certificate.
username parameter security java.lang.String The IRC server user name.

irc consumer