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 4AD3211B4A for ; Fri, 20 Jun 2014 07:43:41 +0000 (UTC) Received: (qmail 48877 invoked by uid 500); 20 Jun 2014 07:43:40 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 48826 invoked by uid 500); 20 Jun 2014 07:43:40 -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 Delivered-To: moderator for dev@camel.apache.org Received: (qmail 85627 invoked by uid 99); 20 Jun 2014 06:56:13 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of ajit.kalyan.chakravarthi@gmail.com does not designate 216.139.236.26 as permitted sender) Date: Thu, 19 Jun 2014 23:55:48 -0700 (PDT) From: sakchakravarthi To: dev@camel.apache.org Message-ID: <1403247348828-5752612.post@n5.nabble.com> Subject: Dynamic camel routing 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 I am new to camel. I have a scenario i need to make ready routes which can consume from file or webservce. Now I configured two routes. But finally only one will be in use so when user provide config details of file as webservice details were not provided it is giving errors. So Is there any way that when user say file only file route will be up and it ignore web service route, Vice versa -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-camel-routing-tp5752612.html Sent from the Camel Development mailing list archive at Nabble.com.