XMPP has been edited by Jonathan Anstey (Dec 31, 2008). Content:XMPP ComponentThe xmpp: component implements an XMPP (Jabber) transport. URI formatxmpp://[lo...@]hostname[:port][/participant][?Options]
The component supports both room based and private person-person conversations.
ExamplesUser "superman" to join room krypton at jabber server with password "secret". xmpp://super...@jabber.org/?room=kryp...@conference.jabber.org&password=secret
User "superman" to send messages to joker xmpp://super...@jabber.org/jo...@jabber.org?password=secret
Routing example in Java from("timer://kickoff?period=10000"). setBody(constant("I will win!\n Your Superman.")). to("xmpp://super...@jabber.org/jo...@jabber.org?password=secret"); Consumer configuration. Will write all messages from Joker into a queue "evil.talk". from("xmpp://super...@jabber.org/jo...@jabber.org?password=secret"). to("activemq:evil.talk"); Consumer configuration listening to a room messages (supported from camel-1.5.0) from("xmpp://super...@jabber.org/?password=secret&room=kryp...@conference.jabber.org"). to("activemq:krypton.talk"); Room in short notation (no domain part; for camel-1.5.0+) from("xmpp://super...@jabber.org/?password=secret&room=krypton"). to("activemq:krypton.talk"); When connecting to the Google Chat service, you'll need to specify the serviceName as well as your credentials See Also |
Unsubscribe or edit your notifications preferences