camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: How to implement (dynamic) rule engine with camel.
Date Mon, 13 Sep 2010 09:56:27 GMT
Camel internal API supports to change the camel route dynamically.
You can use JMX to export a route management interface or use 
webconsole[2] to change it.



On 9/13/10 4:45 PM, Naira & Kobo wrote:
> Hi all,
> I was just wondering what would be the best way to use camel to create
> routes for an application that is highly dynamic.
> When I say dynamic I mean, routing of message can change depending on use
> case. I'd like to make this change without shutting down the camel (routing)
> application (which is a sort of a rule engine). This means, when I have a
> new use case, I 'd like to possible edit a scripting file and expect when
> next a message arrives, the new rules are loaded and evaluated which
> restarting the bundle.
> This means, if I have endpoint A, B, C, D, E, F
> The first use case can be: A ->  D ->  E ->  F
> The second use case: A ->  B ->  C ->  F
> Adding the second use case should require a restart of the camel
> application. Is there anything that can do this today in camel. I think this
> is some like a rule engine.
> I hope my scenario is clear enough. Please, let me know if there is anything
> unclear.
> Thanks.

View raw message