I'm relatively new to Camel. I did research what I am attempting to do, but did not find much help.
The goal is to take an existing standalone CXF rest service (with many service beans) and split it into multiple independent CXF rest services coordinated by Camel. As an initial step, I am attempting to front the existing service with Camel. So to be clear, at this stage, I only want to pass HTTP requests from Camel down to the CXF service. To this end I have run into multiple issues. I am currently unable to route the HTTP message received by Camel to the CXF service. My route: <route> <from uri="servlet:///rest?servletName=CamelAPI&matchOnUriPrefix=true" /> <to uri="ref:message-logger" /> <setBody><simple>CamelHttpServletRequest</simple></setBody> <to uri="ref:message-logger" /> <to uri="direct:api" /> </route> I have configured CXF using camel's transport factory using: <bean class="org.apache.camel.component.cxf.transport.CamelTransportFactory"> <property name="bus" ref="cxf" /> <property name="camelContext" ref="camelContext" /> <property name="checkException" value="true" /> <property name="transportIds"> <list> <value>http://cxf.apache.org/transports/camel</value> </list> </property> </bean> This was required to get around some earlier issues I ran into. My CXF service is configured like: <jaxrs:server id="restService" address="direct:api"> <jaxrs:serviceBeans> ... Startup is fine. On attempting to hit the servlet via RESTClient I can see the message I passed in logged correctly. However, the CXF service cannot receive the message. The error is: No consumers available on endpoint: Endpoint[direct://api] to process: Exchange ... Any help is greatly appreciated. T