You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2012/09/10 16:26:07 UTC

[jira] [Resolved] (CAMEL-5568) Remove Spring Reference from Camel Core Feature

     [ https://issues.apache.org/jira/browse/CAMEL-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-5568.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.11.0

Applied patch into trunk with thanks to Scott.
                
> 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
>            Assignee: Willem Jiang
>             Fix For: 2.11.0
>
>         Attachments: 0001-Fix-CAMEL-5568.patch
>
>
> 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