Yes after thinking about it I also found that cxf would create an endpoint or client for a original config. So I think you are right it would be a bad idea.

Christian


Am 17.06.2011 09:17, schrieb Willem Jiang:
On 6/17/11 2:58 PM, Christian Schneider wrote:
If we just can treat the cxf endpoint or client as abstract bean which has no instance can be mapped to CXF server or client, we can simple reuse the them to configure the camel-cxf endpoint or camel-cxfrs endpoint. But in most case if people define a <jaxws:endpoint>, the spring will create a CXF server according to this spring configuration.

And we also do some enhancements on the <cxfEndpoint> to support configure the jaxws handler or setting the dataformat.

So I don't think it's a good idea to simply reuse the configs from CXF

--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to