Re: Converter not loading properly with Camel4

2023-10-20 Thread Otavio Rodolfo Piske
Hi, Additionally ... What version of Camel are you using? We did have some type converter changes on 4.1 ... So it may be interesting to try with 4.0.1 as well as with 4.1.0 and let us know if you experience the same problem on both of them. Kind regards On Wed, Oct 18, 2023 at 11:44 AM

Re: Converter not loading properly with Camel4

2023-10-18 Thread Kushagra Bindal
Thanks Claus it helps a lot. Though I also found one way also and i.e. camelContext.setLoadTypeConverters(true); this also helped in loading the converters... Now there is a different challenge, I am having below route from(Endpoints.COMMAND_CRYPTIC) .convertBodyTo(CommandCryptic.class)

Re: Converter not loading properly with Camel4

2023-10-18 Thread Claus Ibsen
Hi If you want to use generateLoader=true (you should only set this on class annotation). Then you need to use the camel-component-maven-plugin as well that generates needed metadata files. Otherwise you can use the old 2.x way, where you need to turn on type converter classpath scanner.

Converter not loading properly with Camel4

2023-10-17 Thread Kushagra Bindal
Hi, While trying to migrate from Camel2-->Camel4, I am facing one challenge i.e. earlier in one of my class I use to have multiple converter methods which was working fine. But now with latest version, I observed that only 1st method of the converter class is loaded and rest are not loaded.