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: Camel-sql dynamic from ?
Date Mon, 23 Feb 2015 06:59:22 GMT
On Sun, Feb 22, 2015 at 9:06 PM, Reji Mathews <contactreji@gmail.com> wrote:
> Hi Claus. Can't we use the route builder api to create dynamic routes on
> the fly !
>

Yes surely you can. Though you would need to manage those additional
routes, eg if they are no longer needed you would need to stop and
remove them.

> Cheers
> Reji
> On 21 Feb 2015 23:34, "Claus Ibsen" <claus.ibsen@gmail.com> wrote:
>
>> Hi
>>
>> No this is not possible.
>>
>> Instead use a timer / scheduler and then use a "dynamic to" to call
>> the SQL, which can be dynamic.
>> http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html
>>
>> On Sat, Feb 21, 2015 at 5:19 PM, rwijngaa
>> <rino.van.wijngaarden@gmail.com> wrote:
>> > Hi,
>> >
>> > Is it possible to use a dynamic from() in camel 2.12 ?
>> > Like this:
>> >      from(buildAnCamelSqlQueryInABean).process(doSomething); // not
>> possible
>> > this way!
>> >
>> > (like a recipientList but now for from() endpoints)
>> >
>> > Regards
>> > Rino
>> >
>> >
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://camel.465427.n5.nabble.com/Camel-sql-dynamic-from-tp5763029.html
>> > Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> Red Hat, Inc.
>> Email: cibsen@redhat.com
>> Twitter: davsclaus
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>> hawtio: http://hawt.io/
>> fabric8: http://fabric8.io/
>>



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message