Thanks for sharing this with us :)

--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Wednesday, June 26, 2013 at 3:46 AM, Garbage wrote:

> 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
>  
> (mailto:[email protected]?resource=app&password=yes&[email protected]/device1)");
>  
> This logs on the user as "[email protected] 
> (mailto:[email protected])/app" and has it send
> the entered message to the same user but with a different active resource
> ("[email protected] (mailto:[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 
> (http://Nabble.com).



Reply via email to