Yes, we need to specify the CXF version to avoid that kind of API broken issue.
Please feel free to create a JIRA[1] for it.

[1] https://issues.apache.org/activemq/browse/CAMEL

Willem


S. Ali Tokmen wrote:
(I'm not sure whether this shall be posted on the user or dev list)

Hello

The camel-cxf component has been generated against version 2.2.2. As a result, the camel-cxf module as well as the camel-cxf bundle requires CXF 2.2 (and does not work correctly with CXF 2.0 -which is expected due to API changes).

Now, the trouble is that the camel-cxf JAR's MANIFEST has an Import-Package on org.apache.cxf.* components without specifying any version! As a result, when it looks for CXF and both CXF 2.0 and 2.2 are present on the platform, it sometimes chooses the wrong one.

Could we add the version specifiers to the Import-Package declarations of the camel-cxf bundle?

Cheers


Reply via email to