New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
camel-quarkus-atlasmap including xercesImpl problem #3282
Comments
From Camel 3.13 onwards, this problem likely goes away. |
Thank you for the headsup @jamesnetherton I understand AtlasMap works with XSD, JSONSchema, Pojos and CSV. My question is: how can I understand if I can just remove dfdl-module altogether already in my quarkus application, please? |
You can try to exclude the dfdl module from the dependency tree, but it may not work because there are a few references to the dependency in the AtlasMap Camel Quarkus extension. |
I will look at this. thanks @tarilabs |
@tarilabs I wonder if you have tried recent versions of Camel Quarkus, as DFDL was removed few versions now ? |
bump Quarkus version ref apache/camel-quarkus#3282 (comment) using resteasy-jackson choice per latest Kogito
Thank you for the ping @zbendhiba ! It worked as expected on this end with the demo originally referenced 🚀 |
When used on Quarkus, the dependency
org.apache.camel.quarkus:camel-quarkus-atlasmap
also transitively importsxercesImpl
and that makes my Quarkus app fail on some xml apis; to solve it, I manually exclude xercesImpl from my pom.The error relates to missing XSD Validation property:
Which is expected by another Quarkus extensions in the same Quarkus application which needs to perform XSD Validation.
To solve this issue, I exclude xercesImpl ~like this:
https://github.com/tarilabs/quarkus-content-based-routing/blob/1b21a5359d71cb9a54d4a8ee8d901cac0c53fec6/pom.xml#L82-L91
To reproduce the problem, you can checkout that ^ application locally, elide the
<exclusion>
and runningmvn clean install
will exhibit the problem: another Quarkus extension is performing XSD Validation, but the property is being likely searched on the specific xercesImpl now, instead of relying on the batteries-included JDK xml capabilities?Can you kindly advise please?
Thanks!
/cc @zbendhiba
The text was updated successfully, but these errors were encountered: