Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6C6A4F63 for ; Thu, 23 Jun 2011 16:48:10 +0000 (UTC) Received: (qmail 1506 invoked by uid 500); 23 Jun 2011 16:48:10 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 1472 invoked by uid 500); 23 Jun 2011 16:48:10 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 1464 invoked by uid 99); 23 Jun 2011 16:48:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 16:48:10 +0000 X-ASF-Spam-Status: No, hits=-1998.7 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD,URI_HEX X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 16:48:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6135542B01C for ; Thu, 23 Jun 2011 16:47:47 +0000 (UTC) Date: Thu, 23 Jun 2011 16:47:47 +0000 (UTC) From: "Gert Vanthienen (JIRA)" To: dev@camel.apache.org Message-ID: <513937139.33731.1308847667379.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CAMEL-4147) Add support for lightweight OSGi deployment (without Spring, Blueprint, ...) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org 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