-
1. Re: Expose a web service with Camel
njiang Jun 14, 2011 9:10 PM (in response to manta7)It really depends on what you need to do .
If you want to a content base routing , you can redirect the request from camel-cxf endpoint to camel endpoint.
If you just want to do some auditing work, you can simple add an interceptor and use CXF direly.
If you just want to leverage the camel component from transport level you can use jetty + cxfbean.
If you have lots of bundles and you want them to talk to each other, you can consider to use camel via NMR component.
Willem
-
2. Re: Expose a web service with Camel
manta7 Jun 16, 2011 12:46 PM (in response to njiang)Finally the only thing I want is : from the HelloWorldImpl.java, access to the CamelContext.
Indeed, if from this class I can access to the CamelContext, so I could send messages to Camel endpoint.
To resume, expose a web service to the real world (not the NMR) and from the java implementation of this service, access to the CamelContext.
Is there a simple way ? I just found difficult solutions :/
(I'm still talking about the cxf-osgi example project)
Edited by: manta7 on Jun 16, 2011 4:42 PM
-
3. Re: Expose a web service with Camel
gauravrishi May 15, 2012 5:29 AM (in response to manta7)Hi,
Even I am trying the same thing, can someone help me connecting JAX-WS service to a pojo in the camel context.
Thanks