Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Description

room

If room is specified then component will connect to MUC (Multi User Chat). Usually domain name for MUC is different from login domain. For example if you are superman@jabber.org and want to join "krypton" room then room url is krypton@conference.jabber.org. Note "conference" part.
Starting from camel-1.5.0 it is not required to provide full room JID. If room parameter does not contain "@" symbol then domain part will be discovered and added by Camel

user

User name (without server name). If not specified then anonymous login attempt will be performed.

password

Password

resource

XMPP resource. The default is "Camel"

createAccount

If "true" then an attempt to create an account will be made. Default is false

participant

JID (Jabber ID) of person to receive messages. "room" parameter has precedence over "participant".

nickname

Use nick when joining room. If room is specified and nickname is not then "user" will be used for nick

serviceName

Camel 1.6/2.0 The name of the service you are connecting to. For Google Talk, this would be gmail.com

Headers and setting Subject or Language

Camel sets the message IN headers as properties on the XMPP message. You can configure a HeaderFilterStategy if you need custom filtering of headers.
In Camel 1.6.2/2.0 the Subject and Language of the XMPP message is also set if they are provided as IN headers.

Examples

User "superman" to join room krypton at jabber server with password "secret".

...