Hey all!,
  Since CamelContext.addRouteDefinition(RouteDefinition routeDefinition) has
been deprecated in preference of
ModelCamelContext.addRouteDefinition(org.apache.camel.model.RouteDefinition)
does it now make more sense for
RoutesBuilders.addRoutesToCamelContext(CamelContext context) to actually be
RoutesBuilders.addRoutesToCamelContext(ModelCamelContext context)? 
Otherwise, it seems like a lot of RoutesBuilders would likely do a cast from
CamelContext to ModelCamelContext in their addRoutesToCamelContext
implementation.  Just a thought.
  It's not super clear to me what's the intended semantic difference between
CamelContext and ModelCamelContext so I could be off base here.  Can anyone
enlighten me here?
-e 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Should-RoutesBuilders-addRoutesToCamelContext-CamelContext-context-be-refactored-to-be-RoutesBuilder-tp5757742.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to