Hi Please check this sample https://github.com/apache/servicemix/blob/master/examples/camel/camel-cxf-rest. The bundle camel-cxf-rest-route defines a route which takes the request from a rest service and sends it into the direct-vm endpoint. The other bundle camel-cxf-rest-service defines a route which starts with the direct-vm endpoint and processes the request with a defined processor. You can use the vm or direct-vm endpoints to connect 2 routes defined in 2 separate bundles. Hope it helps
Regards Krzysztof On 06.04.2015 11:06, Kris van Kooten wrote: > Many Thanks!!!. > > Any sample of how to use shared beans accros multiple routes in multiple > projects in pure Camel? > I can't find any examples or documentation.... > > Regards, > Kris > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/jbi-service-unit-5-4-not-working-tp5722463p5722469.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. -- Krzysztof Sobkowiak JEE & OSS Architect Apache Software Foundation Member Apache ServiceMix <http://servicemix.apache.org/> Committer & PMC chair Senior Solution Architect @ Capgemini SSC <http://www.pl.capgemini-sdm.com/en/>