Re: Converter not loading properly with Camel4

2023-10-17 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. https:/

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. @Conv

Re: HttpServletRequest and Platform HTTP

2023-10-17 Thread Claus Ibsen
Hi You usually just set the a camel message header with the HTTP key/value for redirect, something ala: exchange.getMessage().setHeader(Exchange.HTTP_RESPONSE_CODE, 302); exchange.getMessage().setHeader("location", "http url of the redirect location"); On Mon, Oct 16, 2