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? 

Reply via email to