...
From Camel 2.2.0, we introduced a SpringBusFactoryBean which leverage the BusApplicationContext will use the BusApplicationContext.class classloader as a fall back classloader, so you can configure the SpringBusFactoryBean and set the bus directly into the camel-cxf endpoint without using any java code. The Spring configuration snippet is below:
NOTE
If you are using URI to specify the camel-cxf endpoint , you can set the bus URI with bus option like this "cxf://ADDRESS?bus=myBus&...".
...