jbonofre commented on issue #755: URL: https://github.com/apache/camel-karaf/issues/755#issuecomment-5774219697
This is intentional as users complained to not have the CXF "Available SOAP Services" listing page after `HttpService` was removed in OSGi 8. `HTTPTransportActivator` (from `camel-cxf-all`) unconditionally registers a `CXFNonSpringServlet` as an OSGi Whiteboard service on bundle activation. So, you are right, but it's intentional 😄 : it's a real requirement for CXF consumer side (hosting SOAP endpoints), which `camel-http` doesn't have since it's producer only. The real problem is that `camel-cxf` conflates producer-only (calling remote SOAP services, no local endpoint needed) with consumer (hosting one, which does need a servlet container) into one feature. A possible clean fix mirrors the pattern already used for `camel-cxf-jetty`: split the whiteboard/servlet registration out of the base `camel-cxf` feature into its own sub-feature, so producer only users don't drag in Jetty, while consumer users still get `http-whiteboard` and the working service-list page. Let me draft something 😄 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
