axiom-core/src/main/java/org/axiom/service/ControlChannel.java
public void load(final RouteLoader loader) {
        notNull(loader, "Route loader cannot be null.");
        try {
            log.debug("Adding routes to context {}.", hostContext.getName());
            hostContext.addRoutes(loader.load());
        } catch (Exception e) {
            throw new LifecycleException(e.getLocalizedMessage(), e);
        }
    }
/**
     * Adds a set of routing/configuration rules to the host {@link CamelContext}
     * using the supplied {@link RouteLoader}. 
     * @param loader The loader for the routes you wish to load.
     */
Adds a set of routing/configuration rules to the host  CamelContext
using the supplied  RouteLoader.
@param loader The loader for the routes you wish to load.
Adds a set of routing / configuration rules to the host CamelContext using the supplied RouteLoader . @param loader The loader for the routes you wish to load .
public void load(final RouteLoader loader) {
        notNull(loader, "Route loader cannot be null.");
        try {
            log.debug("Adding routes to context {}.", hostContext.getName());
            hostContext.addRoutes(loader.load());
        } catch (Exception e) {
            throw new LifecycleException(e.getLocalizedMessage(), e);
        }
    }
public void load ( final RouteLoader loader ) { notNull ( loader , "Route loader cannot be null." ) ; try { log . debug ( "Adding routes to context {}." , hostContext . getName ( ) ) ; hostContext . addRoutes ( loader . load ( ) ) ; } catch ( Exception e ) { throw new LifecycleException ( e . getLocalizedMessage ( ) , e ) ; } }
Adds a set of routing/configuration rules to the host {@link CamelContext}
 using the supplied {@link RouteLoader}.
Adds a set of routing / configuration rules to the host { @link CamelContext } using the supplied { @link RouteLoader } .