It should work.
If you just want to change to to endpoint, you can use the
RoutingSlip[1]
[1]http://camel.apache.org/routing-slip.html
On Fri Sep 23 01:42:20 2011, Venkatesh wrote:
Hi,
I am retrying to change from() and to() endpoints dynamically which means
I should be able to reconfigure the route and this is what I am planning to
do:
...stop the route...
...call route's configure..so that it get the new endpoints
...start the route..
Is this a correct way?
Thanks& Regards
Venkatesh Laguduva
--
View this message in context:
http://camel.465427.n5.nabble.com/re-configure-a-camel-route-tp4830948p4830948.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang