- All Implemented Interfaces:
- org.wildfly.extension.camel.ContextCreateHandler
public final class CxfDefaultBusHandler
extends java.lang.Object
implements org.wildfly.extension.camel.ContextCreateHandler
A ContextCreateHandler taking care for each newly created CxfRsEndpoint to have its Bus set
to an instance that was created using the class loader of the Camel CXF component. This is to prevent the usage of
the Bus returned by BusFactory.getThreadDefaultBus() which may be set (improperly for us) by JBoss WS
subsystem.
- Author:
- Peter Palaga