Re: camel-quarkus-dozer. Error when running native executable

2021-04-07 Thread Zheng Feng
Hi Federico, I can reproduce this issue with the camel-quarkus-dozer and please raise an issue on https://github.com/apache/camel-quarkus/issues. I think it should be fixed in the camel-quarkus. Thanks, Zheng Feng On Wed, Apr 7, 2021 at 10:22 PM Federico Sajeva wrote: > Thank you Alexandre, >

Re: camel-quarkus-dozer. Error when running native executable

2021-04-07 Thread Federico Sajeva
Thank you Alexandre, it worked like a charm with both the ways suggested (annotated dummy class or reflection-config.json file). Never thought I had to explicitly declare for reflection a pretty old (and possibly obsolete) class like java.util.Date. But as I said in my question java.util.Date and j

Re: camel-quarkus-dozer. Error when running native executable

2021-04-07 Thread Alexandre Gallice
Hi Federico, From the logs, it looks that "java.util.Date" class should be registered for reflection. There are multiple solutions for such cases as described here: https://quarkus.io/guides/writing-native-applications-tips#registering-for-reflection . So, I would first try to register the cl

camel-quarkus-dozer. Error when running native executable

2021-04-07 Thread Federico Sajeva
Hello there, I have an application based on camel-quarkus that (1) split xml payloads using StAX and JAXB, (2) use Dozer to map each record to domain objects annotated with protostream and (3) put each domain object into an Infinispan remote cache. JAXB classes are generated through xjc from a sch