Re: HttpServletRequest and Platform HTTP

2023-10-18 Thread Claus Ibsen
On Wed, Oct 18, 2023 at 4:26 PM Fyodor Kravchenko wrote: > Hi, thank you! > > Good that the http headers are abstracted from the actual underlying > http technology. > > What about Cookies? Will getHeader(Exchange.COOKIE_HANDLER) work with > the Platform Http? Couldn't find if I can specify

Re: HttpServletRequest and Platform HTTP

2023-10-18 Thread Fyodor Kravchenko
Hi, thank you! Good that the http headers are abstracted from the actual underlying http technology. What about Cookies? Will getHeader(Exchange.COOKIE_HANDLER) work with the Platform Http? Couldn't find if I can specify anything like "|?cookieHandler=#exchangeCookieHandler|" in the route

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.