-
1. Re: Can you use Blueprint to publish a Camel CXF endpoint to the NMR?
ffang Oct 17, 2012 10:33 PM (in response to fiddlerpianist)Hi,
It should work IIRC, camel-cxf endpoint could use NMR transport. Please append your configuration file so that we can take a look.
Freeman
-
2. Re: Can you use Blueprint to publish a Camel CXF endpoint to the NMR?
fiddlerpianist Oct 23, 2012 12:14 PM (in response to ffang)My blueprint file is attached.
The stack trace occurs on osgi:start of the bundle:
java.lang.NullPointerException
at org.apache.cxf.binding.soap.SoapTransportFactory.getDestination(SoapTransportFactory.java:136)
at org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:93)
at org.apache.cxf.endpoint.ServerImpl.(CxfConsumer.java:226)
at org.apache.camel.component.cxf.CxfEndpoint.createConsumer(CxfEndpoint.java:195)
at org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:65)
at org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:80)
at org.apache.camel.impl.RouteService.warmUp(RouteService.java:134)
at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:1921)
at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:1849)
at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:1642)
at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1531)
at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1413)
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)
at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1381)
at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:90)
at org.apache.camel.blueprint.BlueprintCamelContext.init(BlueprintCamelContext.java:82)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_31]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_31]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_31]
at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_31]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:225)[9:org.apache.aries.blueprint:0.3.1.fuse-7-061]
at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:838)[9:org.apache.aries.blueprint:0.3.1.fuse-7-061]
at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:638)[9:org.apache.aries.blueprint:0.3.1.fuse-7-061]
Edited by: fiddlerpianist on Oct 23, 2012 11:14 AM
-
routes.xml 1.7 KB
-