Difference between addRouteDefinitions & addRoutes method of CamelContext ?

View: New views
1 Messages — Rating Filter:   Alert me  

Difference between addRouteDefinitions & addRoutes method of CamelContext ?

by cmoulliard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

What is the difference between :

 void addRouteDefinitions(Collection<RouteType> routeDefinitions)
          Adds a collection of route definitions to the context
 void addRoutes(Collection<Route> routes)
          Adds a collection of routes to this context

because the javadoc is not very helful ? May I suggest that some one document a little bit more those classes ?

Charles Moulliard
Enterprise Architect

Xpectis
12, route d'Esch
L-1470 Luxembourg

Phone +352 25 10 70 470
Mobile +352 621 45 36 22

e-mail : cmoulliard@xpectis.com
web site : www.xpectis.com
My Blog : http://cmoulliard.blogspot.com/ 
LightInTheBox - Buy quality products at wholesale price!