You need to install the camel-xmpp feature in SMX See the SMX guides here http://fusesource.com/products/enterprise-servicemix4/#documentation Also the OSGi guide etc.
On Tue, Jul 6, 2010 at 12:51 PM, alessandro.cangini <[email protected]> wrote: > > Thank you very much for the hint > > by the way it seems to be unapplicable in my case because i have to work on > apache servicemix and i have some problems, appearently i have to build my > route only with a routeBuilder because the servicemix-camel-service-unit > maven archetype only gives a routeBuilder for JAVA DSL routing definitions > and a camelcontext.xml for a XML-like definition, using the first one i can > get the Camel Context and creating the producer > > class MyRouteBuilder extends RouteBuilder { > private CamelContext camel = this.getContext(); > private ProducerTemplate producer = camel.createProducerTemplate(); > ... > public void configure() throws Exception { > ... > } > > class OutputTransformer implements Processor { > // creating URI > //creating message body > producer.sendBody(uri,sbody); > > } > } > > > but in my processor when i try to send to selected uri > > producer.sendBody(uri,sbody); > > it gives the following Exception > org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: > xmpp://myProducer/Destination?password=xxxx due to: No component found with > scheme: xmpp > > and in servicemix i don't know how to create The Desired Endpoint, the usual > way seems to be unapplicable > (camelContext.addComponent("xmpp",XMPPComponent)) because the camel-xmpp > component is inside an OSGI enviroment (servicemix 4.2.0)) and i have a lack > of knowledge about this > > Does anyone have any hint about this problem?, any help would be greatly > appreciated > -- > View this message in context: > http://camel.465427.n5.nabble.com/XMPP-Component-Questions-tp696503p876304.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
