camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert Vanthienen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-4147) Add support for lightweight OSGi deployment (without Spring, Blueprint, ...)
Date Thu, 23 Jun 2011 16:47:47 GMT
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

        

Mime
View raw message