Solved!

i have to declare the dependency to the camel-xmpp component in the pom.xml
file and this is the portion of Myprocess

String uri = "xmpp://MyProducer/"+Destination+"?password=xxxx";
XmppComponent xmpp = new XmppComponent();
if (camel.getComponent("xmpp") == null) camel.addComponent("xmpp",xmpp);
ProducerTemplate producer = camel.createProducerTemplate();
producer.sendBody(uri,sbody);

Thank you very much!
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/XMPP-Component-Questions-tp696503p915471.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to