camel-karaf icon indicating copy to clipboard operation
camel-karaf copied to clipboard

camel-dsl-support and camel-xml-io-dsl missing?

Open lichtin opened this issue 1 year ago • 6 comments

I'm trying to use Camel 4.8.2 however

org.apache.camel.karaf:camel-dsl-support:jar:4.8.2 org.apache.camel.karaf:camel-xml-io-dsl:jar:4.8.2

are missing and not available from Maven Central

lichtin avatar Feb 13 '25 10:02 lichtin

You can use camel-blueprint to create routes in XML like in this example https://github.com/apache/camel-karaf/blob/main/tests/examples/blueprint-dsl-only/src/main/resources/OSGI-INF/blueprint/route1.xml

essobedo avatar Feb 13 '25 11:02 essobedo

Yes that static approach we are also using heavily. In this case we need to dynamically load Camel routes from XML configuration passed in at runtime.

lichtin avatar Feb 13 '25 11:02 lichtin

Thanks for the report. These modules are not yet available in camel-karaf (only static approach is supported for now).

I will work to re-add the "dynamic" approach.

jbonofre avatar Feb 13 '25 14:02 jbonofre

Is it possible to use "wrap:" and refer to the original Camel JARs? Or how are the Karaf bundle variants created.

lichtin avatar Apr 05 '25 17:04 lichtin

@lichtin I don't think it will work like this. We wrapped the camel artifacts for good reasons (class loader and specific). For the dsls, we have to register the corresponding service/deployer.

I will work on it once 4.10.3 is out.

jbonofre avatar Apr 05 '25 17:04 jbonofre

sorry to nag, it would help to know approx. timeframe. I'm glad to help if it makes sense

lichtin avatar Jul 29 '25 18:07 lichtin