Scott England-Sullivan created CAMEL-5568:
---------------------------------------------
Summary: Remove Spring Reference from Camel Core Feature
Key: CAMEL-5568
URL: https://issues.apache.org/jira/browse/CAMEL-5568
Project: Camel
Issue Type: Improvement
Components: karaf
Affects Versions: 2.11.0
Reporter: Scott England-Sullivan
I propose that the Spring feature reference in the camel-core feature be
removed.
Camel Core no longer has a runtime dependency on Spring. Camel Components that
require Spring as a runtime dependency should have a feature reference to
Spring and not depend on the *camel-core* feature to install it. This will
eliminate the addition of unnecessary installations of the Spring APIs into the
Karaf container. For example, the *camel-sjms* feature installs the
*camel-core* feature which installs the Spring APIs though no dependency on
Spring exists.
After a run through of all the components with a runtime dependency on Spring
and their associated features I found only one feature that was missing a
reference to a Spring feature: *camel-test*.
Below is a complete breakdown of the components with Spring runtime
dependencies.
Component Features with a runtime dependency on Spring that include a a Spring
Feature reference:
* camel-bam
* camel-cxf
* camel-cxf-transport - Included in camel-cxf feature
* camel-jms
* camel-jpa
* camel-spring
* camel-spring-batch
* camel-spring-integration
* camel-spring-javaconfig
* camel-spring-security
* camel-spring-ws
* camel-sql
Component Features with a runtime dependency on Spring but no Camel Feature is
defined:
* camel-gae
* camel-neo
* camel-testng
* camel-web
Component Features with a runtime dependency on Spring that DO NOT include a a
Spring Feature reference *(require an update)*:
* camel-test
I am attaching a patch shortly.
Best Regards,
Scott ES
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira