zhfeng commented on pull request #2272: URL: https://github.com/apache/camel-quarkus/pull/2272#issuecomment-784179168
OK, I just find the root cause is from ```org.h2.jdbcx.JdbcDataSource.readObject()``` which is de-serializing the object by using ObjectStreamClass eventually. So I update to introduce ```artemis-jms-xa``` extension as a work around to support XA connection until https://github.com/quarkusio/quarkus/issues/14871 get resolved. In the term of the h2 issue, I just use ``` @TargetClass(className = "org.h2.jdbcx.JdbcDataSource") final class Target_org_h2_jdbcx_JdbcDataSource { @Delete private void readObject(ObjectInputStream in) { } } ``` And I think this might be fixed in the quarkus h2-jdbc extension. I will raise an issue in quarkus. Finally with these changes, we can remove ```--report-unsupported-elements-at-runtime``` and dependency of ```quarkus-jackson```. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org