Hello,

I'm using Camel 4x on Apache Karaf and have a small component that
exposes a CamelContext as a service. I'm using the Java DSL and
deploying my routes -- everything seems to work.

I'm currently using Aries JAX-RS Whiteboard and deploying resources
within my own application base. Similarly, this is all working
correctly. Adding the 'aries-jax-rs-whiteboard' feature brings in pax
web, cxf-jaxrs, etc.

I'd now like to use the Camel REST DSL. I've confirmed I can use the
Jetty component, as some of the examples have shown, on different ports,
however, I'd like to re-use the existing pax web where I've already
configured it and it's running on port 8181. I assume the right
component is either 'camel-platform-http' or 'camel-servlet', but I've
been unsuccessful with each.

Reviewing the camel-platform-http component, I see the documentation
says:

To use Platform HTTP, a provider (engine) is required to be available on
the classpath. The purpose is to have drivers for different runtimes 
such as Quarkus, or Spring Boot.

Does such an engine exist to work in Karaf with Pax Web? If not do I use
camel-servlet? Neither seem to work out of the box. Any points would be
greatly appreciated.

-- 
Chaz

Reply via email to