camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-1988) Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework
Date Fri, 04 Sep 2009 11:09:12 GMT

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

Guillaume Nodet updated CAMEL-1988:
-----------------------------------

    Attachment: CAMEL-1998.patch

Attached is a patch that does the needed modifications on camel-core and camel-spring.

For other components, the work is the same:

#1  for each package exported by the bundle, add an entry in the import property to not import
this package:
    for example, camel-spring has the following export:
          org.apache.camel.spring*;${camel.osgi.version},
   so we need to add the following line to the import:
         !org.apache.camel.spring

#2 for the versioning, all imported camel packages should be handled using the following scheme:
       org.apache.camel*;${camel.osgi.import.camel.version},

Note that the order is important iirc, and exclusions (#1) must be put first, and inclusions
(#2) after, but before the "*".


To check everything is ok, build, then open the target/classes/META-INF/MANIFEST.MF and check
that none of the imported package is imported, and that all packages imported from camel have
a range [2.1,2.2).


> Better OSGi metadata to allow deploying multiple camel versions in the same OSGi framework
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1988
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1988
>             Project: Apache Camel
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>            Priority: Critical
>         Attachments: CAMEL-1998.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message