apache / camel-karaf

Apache Camel Karaf support
https://camel.apache.org
Apache License 2.0
25 stars 61 forks source link

Incompatible bundles in camel3 feature name='xml-specs-api' #336

Open ivan-ra opened 1 month ago

ivan-ra commented 1 month ago

Camel 3.x feature name='xml-specs-api' contains 2 incompatible bundles: <bundle>mvn:org.codehaus.woodstox/stax2-api/${stax2-api-bundle-version}</bundle> <bundle>mvn:org.codehaus.woodstox/woodstox-core-asl/${woodstox-version}</bundle> stax2-api version4+ is compiled with com.fasterxml.woodstox/woodstox-core, which incompatible with org.codehaus.woodstox/woodstox-core-asl. As result, camel-cxf- components (and maybe some other) cant work properly in osgi environment. I replaced woodstox-core-asl in my local feature repository like it made in main branch, and now my camel3 cxf routes work properly: <bundle>mvn:org.codehaus.woodstox/stax2-api/4.2.1</bundle> <bundle>mvn:com.fasterxml.woodstox/woodstox-core/6.5.1</bundle> Please do it in 3. branch (affects versions 3.18.-3.22.)

essobedo commented 1 month ago

Hi, thank you for your feedback, you are welcome to propose a PR.

Just so you know, branch 3.x is no longer active because we won't release a new version 3. For the version 3, only the branch 3.22 is still active as it is still supported until the end of the year.