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 D29336A03 for ; Sun, 26 Jun 2011 09:07:46 +0000 (UTC) Received: (qmail 89958 invoked by uid 500); 26 Jun 2011 09:07:43 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 88593 invoked by uid 500); 26 Jun 2011 09:07:15 -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 88575 invoked by uid 99); 26 Jun 2011 09:07:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2011 09:07:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD 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; Sun, 26 Jun 2011 09:07:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 932A8431107 for ; Sun, 26 Jun 2011 09:06:47 +0000 (UTC) Date: Sun, 26 Jun 2011 09:06:47 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: dev@camel.apache.org Message-ID: <248023988.41231.1309079207599.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (CAMEL-4155) CamelContext - Adding a service should inject CamelContext if servie is CamelContextAware MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 CamelContext - Adding a service should inject CamelContext if servie is CamelContextAware ----------------------------------------------------------------------------------------- Key: CAMEL-4155 URL: https://issues.apache.org/jira/browse/CAMEL-4155 Project: Camel Issue Type: Improvement Components: camel-core Reporter: Claus Ibsen Assignee: Claus Ibsen Priority: Minor Fix For: 2.8.0 Services can be added to a CamelContext so it helps control its lifecycle, and ensure the service is stopped/shutdown when CamelContext stops. As part of that we should also add support for injecting the CamelContext if the service is CamelContextAware. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira