Camel WebConsole[1] supports to update the camel route dynamically.
You may take a look at it.
[1]http://camel.apache.org/web-console.html
Willem
On 3/25/11 6:37 AM, Lansing, William Jeff wrote:
A while ago I read a suggestion to the effect that it would be nice if routes
could be declared as strings, e.g., in a file like:
from("ds-service:events")
.filter().simple("${body.provider} not contains 'side-effect-of-delete'")
.to("ds-soap://update?url=http://localhost/xyz/UpdateService")
;
The advantage would be that routes could be created dynamically at runtime by
parsing such declarations.
(I can't find the doc that suggested this now but it was on the Camel site at
one time.)
Has this been done?
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang