Conversation
…rta.servlet-api 6+ as Karaf 4.4.x/Pax Web 8.0.x and OSGi HttpService support jakarta.servlet-api 4 for now
|
It seems to have an impact on the camel-cxf integration test as In the log of the build, I can see: Since |
|
Yes I saw that. I'm fixing. We have to deal with different servlet namespaces to work in Karaf |
|
Great 👍 Do you mind adding an integration test in blueprint using the rest DSL to ensure that everything works as expected? |
|
Actually, I think we should use a different approach: not using the OSGi |
This PR adds the
camel-servlet-osgi"attached" to thecamel-servletcomponent allowing to hook in the OSGi HttpService.As Apache Karaf 4.4.x/Pax Web 8.0.x and OSGi HttpService only supports jakarta.servlet-api 4.x for now, this PR also fixes the camel-karaf modules that must be changed to use this servlet-api version (
camel-servlet,camel-http-com).As atmosphere requires jakarta.servlet-api 6 and camel-servlet, it can't work for now, so this PR excludes it from the features repository.
This PR is required as Apache Karaf 4.4.x, we will be able to clean this up when Apache Karaf 4.5.x will be available (as it will use new Pax Web version support servlet-api 6.x).