-
Bug
-
Resolution: Done
-
Major
-
fuse-7.3
-
None
Trying to expose a CXFEndpoint as an OSGi service is correctly done, but when that service is referenced it can not be done, as per there is a cast Exception:
Caused by: java.lang.ClassCastException: Cannot cast Proxy15066ec0_4973_4fcc_84f5_0f61b0375df7 to org.apache.camel.component.cxf.CxfEndpoint at java.lang.Class.cast(Class.java:3369) ~[?:?] at org.apache.camel.blueprint.BlueprintContainerRegistry.lookupByNameAndType(BlueprintContainerRegistry.java:65) ~[?:?]
This functionality is required to have a shared configuration (security, interceptors, etc.) cross multiples bundles in the server.