Details
Description
I think the current wiring configuration (used in those camel-cxf tests) for wiring CXF endpoints to specific cxf bus instances using spring is cumbersome and not appealing. So, I would like to suggest a patch for this problem.
To start, here is how the the current configuration convention looks like:
<beans ...>
<bean id="cxf1" class="org.apache.cxf.bus.extension.ExtensionManagerBus"/>
<bean id="cxf2" class="org.apache.cxf.bus.extension.ExtensionManagerBus"/>
<cxfcore:bus bus="cxf1">
...
</cxfcore:bus>
<cxfcore:bus bus="cxf2">
....
</cxfcore:bus>
<cxf:cxfEndpoint id="routerEndpoint"
serviceClass="..."
...
bus="cxf1"/>
<cxf:cxfEndpoint id="serviceEndpoint"
serviceClass="..."
...
bus="cxf2"/>
</beans>
I would like to get rid of the indirect wiring of the CXF endpoints using ExtensionManagerBus beans. The attached patch for camel/trunk should directly wire the endpoints to the named buses. I would appreciate if you can look at it.
Thank you.
regards, aki
Attachments
Attachments
Issue Links
- depends upon
-
CXF-3947 AbstractBeanDefinitionParser loses Bus names
- Closed