Skip to content

The page with the list of services is unavailable when using the camel-cxf component. #656

@tim08

Description

@tim08

Previously(karaf 4.2.16, camel 2.25.4), when using camel-cxf, the following page was available,
Image

I know that Camel 4 requires CXF 4+ (which has lost OSGI support), So you had to transfer over some of the functionality from the old version (thank you very much). I also saw the following comment
https://github.com/apache/camel-karaf/blob/camel-karaf-4.10.7/components/camel-cxf/camel-cxf-all/src/main/java/org/apache/camel/component/cxf/transport/http/osgi/HTTPTransportActivator.java#L57

But I don't really understand why if I install the following dependencies on clean Karaf 4.4.8 (which has OSGI 8):

feature:repo-add cxf 3.6.5 && feature:install cxf

I see that the page http://localhost:8181/cxf is available, and org.osgi.service.http.HttpService is also available.

Image

What are the alternatives to restore this functionality for camel-cxf 4? Do I need an older version of OPS4J Pax Web API?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions