Re: Issue with SpringBootTest and camel-rest

2024-02-19 Thread Alphonse Bendt
hi Federico, Thanks, that was the missing part! Thanks to both of you for the support 🙏🏾 For reference: The rest component can be re-configured to use the same context path as previously the camel-servlet: restConfiguration() .contextPath( "/my-api“) With this i don’t need other ch

Re: Issue with SpringBootTest and camel-rest

2024-02-19 Thread Federico Mariani
Hello, I am getting 404 on the standalone example. Beware that OOB camel-servlet and camel-platform-http uses different endpoints, camel-servlet */came/** while camel-platform-http */** Il giorno dom 18 feb 2024 alle ore 15:09 Alphonse Bendt < alphonse.be...@gmail.com> ha scritto: > Hi folks, >

Re: Issue with SpringBootTest and camel-rest

2024-02-18 Thread Alphonse Bendt
i tried to * add camel-platform-http-starter and camel-platform-http => this causes the same behavior * replace camel-servlet-starter with platform-http-* => this causes a 404 as the endpoint apparently is not properly registered > Am 18.02.2024 um 15:11 schrieb Claus Ibsen : > > Hi > > You c

Re: Issue with SpringBootTest and camel-rest

2024-02-18 Thread Claus Ibsen
Hi You can try using platform-http-starter instead of servlets On Sun, Feb 18, 2024 at 3:09 PM Alphonse Bendt wrote: > Hi folks, > > There is an issue when running tests for a SpringBoot application that > uses camel-rest. > > When there are multiple tests that use a different configuration (e.

Issue with SpringBootTest and camel-rest

2024-02-18 Thread Alphonse Bendt
Hi folks, There is an issue when running tests for a SpringBoot application that uses camel-rest. When there are multiple tests that use a different configuration (e.g., different properties), we run into this error: Caused by: jakarta.servlet.ServletException: Duplicate S