CxfSpringEndpoint.setApplicationContext(ApplicationContext) creates a org.apache.cxf.Bus  whose shutdown() method is never called. This is one of the causes for a memory leak in WildFly Camel (WFC) .
The steps to reproduce for WFC are as follows:
1. Start the WFC
2. run the CXFWSConsumerIntegrationTest several times
3. Force GC on WFC
4. Get a heap dump
NOT OK: There are as many stale SpringBus instances as many times the test was run.
Expected: no SpringBus instances there