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 3048217FFB for ; Wed, 6 May 2015 21:34:46 +0000 (UTC) Received: (qmail 56007 invoked by uid 500); 6 May 2015 21:34:45 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 55963 invoked by uid 500); 6 May 2015 21:34:45 -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 55950 invoked by uid 99); 6 May 2015 21:34:45 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 21:34:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 254E6C0E07 for ; Wed, 6 May 2015 21:34:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.286 X-Spam-Level: ** X-Spam-Status: No, score=2.286 tagged_above=-999 required=6.31 tests=[SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id oLZWMyfqR4HA for ; Wed, 6 May 2015 21:34:25 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id E6C7B2CEC1 for ; Wed, 6 May 2015 20:57:51 +0000 (UTC) Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id C060B1D5FDE2 for ; Wed, 6 May 2015 13:58:38 -0700 (PDT) Date: Wed, 6 May 2015 13:57:51 -0700 (MST) From: bonez05 To: users@camel.apache.org Message-ID: <1430945871127-5766785.post@n5.nabble.com> Subject: Destroying Dynamically Add Routes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I'm adding dynamic routes during runtime by using context.addRoutes(new MyDynamicRouteBuilder(...) ) I need a custom *.from()* location, which to my understanding I can't do with DynamicRouter EIP.. context.addRoutes does not return a route id ... do I need to stop and shutdown the route when its done? How do I do this? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Destroying-Dynamically-Add-Routes-tp5766785.html Sent from the Camel - Users mailing list archive at Nabble.com.