You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Dayakar <da...@gmail.com> on 2013/08/12 11:10:32 UTC

How to Add Routepolicy to RouteBuilder Dynamically

Hi,

I am creating a RouteBuilder dynamically by using Factory Mechanism.

RouteBuilder routeBuilder = subscriptionFactory.getRouteBuilder("Cancer");

For this Route I need to add .routePolicy(createRoutePolicy()).

routeBuilder.routePolicy(createRoutePolicy()) is not allowing

How can i add RoutePolicy for existing Route?

Thanks & Regards,
Dayakar



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-Add-Routepolicy-to-RouteBuilder-Dynamically-tp5737132.html
Sent from the Camel - Users mailing list archive at Nabble.com.