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 D36E29718 for ; Fri, 4 May 2012 09:06:04 +0000 (UTC) Received: (qmail 65721 invoked by uid 500); 4 May 2012 09:06:04 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 65536 invoked by uid 500); 4 May 2012 09:06:04 -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 65519 invoked by uid 99); 4 May 2012 09:06:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2012 09:06:03 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2012 09:05:59 +0000 Received: by lbok6 with SMTP id k6so2369595lbo.32 for ; Fri, 04 May 2012 02:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=A8CoNONMTTKRP6Wn7rwFoMvSf76UQ9u6scsizxQIJG0=; b=GrCkK1HigOpIGWlj0Nu3jx46JPkzgT0HlNGAbpmCB5qcRl/UnepieZtzxHUAFl9dly fDZoLmRVfDxpneU2xjfoQoL7bijprTrNnJvyIMzAVYzIg+FvUIMR7E+V3P1vgdHGnNkD Pe/82dXtKH1l7jmqjGrC13Dn71P7+qkLgzWxWPpazk6UCJGxYf9ZNYPH8zBQgcKFPtR7 OuKB/6yQzYzzQY7rz1DDxboYAB2JIReNUdB/Dm3Ogi57bDXgeAaS4CLD/Np6RHXnGFpW JSvrlbQ/mAANrLXyHsZxgAIiCsK/StS07wC33PvpkOE8kmRmRFeAn3juyN4cvyDfcZ9s PAqA== Received: by 10.112.86.34 with SMTP id m2mr2528238lbz.38.1336122338012; Fri, 04 May 2012 02:05:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.146.7 with HTTP; Fri, 4 May 2012 02:05:17 -0700 (PDT) In-Reply-To: <1336031607764-5682549.post@n5.nabble.com> References: <1336020777077-5682267.post@n5.nabble.com> <1336031607764-5682549.post@n5.nabble.com> From: Claus Ibsen Date: Fri, 4 May 2012 11:05:17 +0200 Message-ID: Subject: Re: Dynamic source endpoint To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org You can add routes at runtime to a running Camel. If you using Java then you can have a RouteBuilder class as a template, and then maybe some getter/setter for the uris. And then reference those uris in the configure() method where you use the Java DSL. On Thu, May 3, 2012 at 9:53 AM, agustino wrote: > Hi Claus, > > Sorry for my bad question. Basically I am confused how to create multiple > dynamic endpoint to consume the file and do processing of the file. > i.e: > from("sql:select systemfolder from paths").from( the previous query>).to("activemq://queue:output") > > Thanks > > -- > View this message in context: http://camel.465427.n5.nabble.com/Dynamic-source-endpoint-tp5682267p5682549.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/