I reread the documentation on the XMPP component
(http://camel.apache.org/xmpp.html) and rearranged the url from an earlier
attempt. It now works, I can use one account and vary it by adding a
resource.

Here you can find an example:

from("stream:in?promptMessage=sachwas:").to("xmpp:[email protected]?resource=app&password=yes&[email protected]/device1");

This logs on the user as "[email protected]/app" and has it send
the entered message to the same user but with a different active resource
("[email protected]/device").
Now I can proceed and add marshalling and remoting ...





--
View this message in context: 
http://camel.465427.n5.nabble.com/xmpp-uri-in-camel-naming-a-hid-resource-tp5734609p5734766.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to