Hi, im trying to register a Camel route in Servicemix 4.x. This route is a cxf consumer, xslt and a provider HTTP. I erase the xslt endpoint to avoid any conflicts because that is not relevant. I dont know what is wrong in the xml declaration.
<camelcxf:cxfEndpoint id="testBridgeLegacyConsumerEndpoint" serviceClass="com.esb.service.VesselVisitorService" address="/vesselVisitorService" endpointName="ns:vesselVisitorServicePort" serviceName="ns:vesselVisitorService" xmlns:ns="http://service.esb.com/" /> <camel:camelContext id="pruebaBridgeLegacyRoute" trace="true"> <camel:route id="rutaLegacy"> <camel:from uri="cxf:bean:pruebaBridgeLegacyConsumerEndpoint" /> <camel:to uri="http://localhost/vessel_visitors.xml" /> </camel:route> </camel:camelContext> The URI http://localhost/vessel_visitors.xml is an XML file that I have in my apache server in port 80. Camel regist the route if I duplicate the cxf:endpoint and register the route with *from* and *to* with both cxf endpoints. In this way, the context and the route are not register in karaf, but the camel logs doesnt indicate a problem. The Camel log in Servicemix is 12:22:03,931 | DEBUG | mix-4.4.2/deploy | Activator | 91 - org.apache.camel.camel-core - 2.8.5 | Bundle started: PruebaBridgeLegacy 12:22:03,938 | DEBUG | rint Extender: 3 | CxfNamespaceHandler | 150 - org.apache.camel.camel-cxf - 2.8.5 | parsing the cxfEndpoint element 12:22:03,944 | DEBUG | rint Extender: 3 | OsgiCamelContextHelper | 152 - org.apache.camel.camel-blueprint - 2.8.5 | Setting up OSGi ServiceRegistry 12:22:03,944 | DEBUG | rint Extender: 3 | BlueprintComponentResolver | 152 - org.apache.camel.camel-blueprint - 2.8.5 | Ignored error looking up bean: properties. Error: org.apache.camel.RuntimeCamelException: org.osgi.service.blueprint.container.NoSuchComponentException: No component with id 'properties' could be found 12:22:03,944 | DEBUG | rint Extender: 3 | BlueprintComponentResolver | 152 - org.apache.camel.camel-blueprint - 2.8.5 | Ignored error looking up bean: properties. Error: org.apache.camel.RuntimeCamelException: org.osgi.service.blueprint.container.NoSuchComponentException: No component with id '.camelBlueprint.componentResolver.properties' could be found 12:22:03,944 | DEBUG | rint Extender: 3 | Activator | 91 - org.apache.camel.camel-core - 2.8.5 | The entry properties's url is bundle://91.0:0/META-INF/services/org/apache/camel/component/properties 12:22:03,945 | DEBUG | rint Extender: 3 | AbstractCamelContextFactoryBean | 152 - org.apache.camel.camel-blueprint - 2.8.5 | Found JAXB created routes: [Route[[From[cxf:bean:pruebaBridgeLegacyConsumerEndpoint]] -> [To[http://localhost/vessel_visitors.xml]]]] 12:22:03,945 | DEBUG | rint Extender: 3 | CamelContextFactoryBean | 152 - org.apache.camel.camel-blueprint - 2.8.5 | Set the application context classloader to: BundleDelegatingClassLoader(PruebaBridgeLegacy [205]) 12:22:03,945 | INFO | rint Extender: 3 | BlueprintCamelContext | 91 - org.apache.camel.camel-core - 2.8.5 | JMX enabled. Using ManagedManagementStrategy. 12:22:03,946 | DEBUG | rint Extender: 3 | DefaultManagementAgent | 91 - org.apache.camel.camel-core - 2.8.5 | Starting JMX agent on server: com.sun.jmx.mbeanserver.JmxMBeanServer@2808b3 12:22:03,946 | DEBUG | rint Extender: 3 | CamelContextFactoryBean | 152 - org.apache.camel.camel-blueprint - 2.8.5 | EventAdmin package is not available, just don't use it The dependencies of my project are camel 2.8.5 <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-spring</artifactId> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-core</artifactId> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-blueprint</artifactId> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-jms</artifactId> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http</artifactId> </dependency> <dependency> <groupId>org.apache.activemq</groupId> <artifactId>activemq-core</artifactId> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-jetty</artifactId> </dependency> There is a example to create a Route cxf -> http ? (BTW, i couldn't create a HTTP -> HTTP route) Thank you! -- View this message in context: http://camel.465427.n5.nabble.com/Create-a-Simple-CXF-Http-Route-tp5731090.html Sent from the Camel - Users mailing list archive at Nabble.com.