I am just trying to understand the CXF Bus. So just have a quick question.
I have 2 bundles within karaf. Both expose CXF endpoints. I want to add an
interceptor onto the bus, so that all endpoints use it.
Should the bus be defined in both blueprints xml (as per below)? or just in
one place, which means it acts as a global bus? If its the global bus
option, is that how the bus works by default?
Hope that makes sense.
;cxfcore:bus;
;cxfcore:inInterceptors;
;ref component-id=ꫪ;wss4jInInterceptorꫪ; /;
;/cxfcore:inInterceptors;
;cxfcore:properties;
;entry key=ꫪ;schema-validation-enabledꫪ;
value=ꫪ;${schema.validation.enabled}ꫪ; /;
;entry key=ꫪ;loggingFeatureEnabledꫪ;
value=ꫪ;${logging.isCxfDebug}ꫪ; /;
;/cxfcore:properties;
;/cxfcore:bus;
I have 2 bundles within karaf. Both expose CXF endpoints. I want to add an
interceptor onto the bus, so that all endpoints use it.
Should the bus be defined in both blueprints xml (as per below)? or just in
one place, which means it acts as a global bus? If its the global bus
option, is that how the bus works by default?
Hope that makes sense.
;cxfcore:bus;
;cxfcore:inInterceptors;
;ref component-id=ꫪ;wss4jInInterceptorꫪ; /;
;/cxfcore:inInterceptors;
;cxfcore:properties;
;entry key=ꫪ;schema-validation-enabledꫪ;
value=ꫪ;${schema.validation.enabled}ꫪ; /;
;entry key=ꫪ;loggingFeatureEnabledꫪ;
value=ꫪ;${logging.isCxfDebug}ꫪ; /;
;/cxfcore:properties;
;/cxfcore:bus;