Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7C9E39178 for ; Fri, 13 Apr 2012 13:00:29 +0000 (UTC) Received: (qmail 80027 invoked by uid 500); 13 Apr 2012 13:00:29 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 79998 invoked by uid 500); 13 Apr 2012 13:00:29 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 79990 invoked by uid 99); 13 Apr 2012 13:00:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 13:00:29 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2012 13:00:23 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SIg6c-00088v-03 for users@camel.apache.org; Fri, 13 Apr 2012 06:00:02 -0700 Date: Fri, 13 Apr 2012 06:00:01 -0700 (PDT) From: Babak Vahdat To: users@camel.apache.org Message-ID: <1334322001991-5638219.post@n5.nabble.com> In-Reply-To: References: Subject: Re: newbie question re LifecycleManagementStrategy MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi You could look at [1] to see how easily you can add routes from XML, and check the commit log at the bottom of that link for some examples. You could also add routes dynamically at runtime [2] using Camel's JMX ManagedCamelContext MBean. [1] http://camel.apache.org/loading-routes-from-xml-files.html [2] http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/management/mbean/ManagedCamelContext.html#addOrUpdateRoutesFromXml(java.lang.String) Babak -- View this message in context: http://camel.465427.n5.nabble.com/newbie-question-re-LifecycleManagementStrategy-tp5638024p5638219.html Sent from the Camel - Users mailing list archive at Nabble.com.