camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Dynamic source endpoint
Date Fri, 04 May 2012 09:05:17 GMT
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 <siau_ti3@yahoo.com> 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(<this value is return 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/

Mime
View raw message