Description
The camel-cxf uses some poor spring namespace parsing where it does not use factory bean for all of those elements - without this the lifecycle of these objects cannot be handled safely.
So you may obtain a <cxf:cxfEndpoint> that is not properly initialized/started.
If you look at camel-core-xml camel-spring how it does it, then we use factory beans for those elements which allows to control the lifecycle from the getObject method that spring calls.