[
https://issues.apache.org/jira/browse/CAMEL-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025578#comment-13025578
]
Willem Jiang commented on CAMEL-3901:
-------------------------------------
+1 for pulling the camel transport for CXF out of camel-cxf component.
I think it should be OK if camel-cxf module had no dependency of camel
transport, as camel-cxf should not touch the transport part directly.
> Create a separate component for camel transport for cxf
> -------------------------------------------------------
>
> Key: CAMEL-3901
> URL: https://issues.apache.org/jira/browse/CAMEL-3901
> Project: Camel
> Issue Type: Improvement
> Components: camel-cxf
> Affects Versions: 2.7.1
> Reporter: Christian Schneider
> Assignee: Christian Schneider
> Fix For: 2.8.0
>
> Attachments: camel-3901-1.patch, camel-3901-camel
> transport-for-cxf.png
>
>
> The camel-cxf component curently contains too many unrelated functions. It
> contains:
> - camel transport for cxf
> - cxf component
> - cxfbean component
> - cxfrs componet
> - converters
> So this causes the code of the component to depend on each other and suck in
> much too many dependencies. Besides this there are some package dependency
> cycles in the code which could easily be solved.
> A first step is to separate the camel transport for cxf from the rest of the
> code. It is independent of all other code and can be pulled into a new
> component.
> Some advantages are:
> - The camel transport for cxf needs very few dependencies so it is a vey
> light weight aproach to combine cxf and camel
> - The new component nicely shows how to bridge between cxd and camel without
> the overhead of the other components
> - We can let the camel-cxf component depdend on the camel transport for cxf
> so for people using maven no changes are needed
> I will attach a patch where I simply deleted anything that is not relevant
> for camel transport for cxf from the camel-cxf project. This is of course not
> yet the solution but it shows how small the new component will be and is a
> good start for doing the split.
> I would be very interested about opinions from other developers about the
> split.
> Christian
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira