You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2011/06/23 18:47:47 UTC
[jira] [Created] (CAMEL-4147) Add support for lightweight OSGi
deployment (without Spring, Blueprint, ...)
Add support for lightweight OSGi deployment (without Spring, Blueprint, ...)
----------------------------------------------------------------------------
Key: CAMEL-4147
URL: https://issues.apache.org/jira/browse/CAMEL-4147
Project: Camel
Issue Type: Improvement
Affects Versions: 2.7.2
Reporter: Gert Vanthienen
Fix For: 2.9.0
We should be able to deploy Camel in a plain OSGi container without requiring Spring-DM or Blueprint to bootstrap the routes, cfr. http://camel.465427.n5.nabble.com/Camel-under-OSGi-without-Spring-et-al-td4507473.html
A possible solution: add a ServiceTracker for RouteBuilder instances in the OSGi Service Registry and automatically create and start a CamelContext for any RouteBuilder instance it discovers.
We should add a few optional properties that can be passed in when registering the service:
* a CamelContext name, so the tracker can add multiple RouteBuilders to the same CamelContext
* a property to disable automatically starting the context
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-4147) Add support for lightweight OSGi
deployment (without Spring, Blueprint, ...)
Posted by "Donald Whytock (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054013#comment-13054013 ]
Donald Whytock commented on CAMEL-4147:
---------------------------------------
A few issues I've experienced with this:
- OsgiDefaultCamelContext.start() should be sensitive to whether the services it depends on are active. This seems to be at least one instance of TypeConverter service.
- Similarly, it would be nice if routes were sensitive to whether the components they need are active. This is reflected by instances of ComponentResolver services.
- Named CamelContext-providing service instances, as suggested in the description, would be a good way to provide CamelContext singletons across bundles.
> Add support for lightweight OSGi deployment (without Spring, Blueprint, ...)
> ----------------------------------------------------------------------------
>
> Key: CAMEL-4147
> URL: https://issues.apache.org/jira/browse/CAMEL-4147
> Project: Camel
> Issue Type: Improvement
> Affects Versions: 2.7.2
> Reporter: Gert Vanthienen
> Fix For: 2.9.0
>
>
> We should be able to deploy Camel in a plain OSGi container without requiring Spring-DM or Blueprint to bootstrap the routes, cfr. http://camel.465427.n5.nabble.com/Camel-under-OSGi-without-Spring-et-al-td4507473.html
> A possible solution: add a ServiceTracker for RouteBuilder instances in the OSGi Service Registry and automatically create and start a CamelContext for any RouteBuilder instance it discovers.
> We should add a few optional properties that can be passed in when registering the service:
> * a CamelContext name, so the tracker can add multiple RouteBuilders to the same CamelContext
> * a property to disable automatically starting the context
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CAMEL-4147) Add support for lightweight OSGi
deployment (without Spring, Blueprint, ...)
Posted by "Claus Ibsen (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-4147:
-------------------------------
Fix Version/s: (was: 2.9.0)
Future
> Add support for lightweight OSGi deployment (without Spring, Blueprint, ...)
> ----------------------------------------------------------------------------
>
> Key: CAMEL-4147
> URL: https://issues.apache.org/jira/browse/CAMEL-4147
> Project: Camel
> Issue Type: Improvement
> Affects Versions: 2.7.2
> Reporter: Gert Vanthienen
> Fix For: Future
>
>
> We should be able to deploy Camel in a plain OSGi container without requiring Spring-DM or Blueprint to bootstrap the routes, cfr. http://camel.465427.n5.nabble.com/Camel-under-OSGi-without-Spring-et-al-td4507473.html
> A possible solution: add a ServiceTracker for RouteBuilder instances in the OSGi Service Registry and automatically create and start a CamelContext for any RouteBuilder instance it discovers.
> We should add a few optional properties that can be passed in when registering the service:
> * a CamelContext name, so the tracker can add multiple RouteBuilders to the same CamelContext
> * a property to disable automatically starting the context
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira