Hi Jawahar,

> I am trying to create the routes dynamically
...
> Reason is, I have to
> fetch the routes from the database instead of static configuration.

Have you consider using RecipentList [1] or DynamicRouter [2] for this
purpose? It's definitely easier to use and far more maintainable than
creating new routes.

[1] http://camel.apache.org/recipient-list.html
[2] http://camel.apache.org/dynamic-router.html

--
Henryk Konsek
http://henryk-konsek.blogspot.com

Reply via email to