public void stop ( String ... routes ) { StopCamelRouteAction camelRouteAction = new StopCamelRouteAction ( ) ; camelRouteAction . setRouteIds ( Arrays . asList ( routes ) ) ; camelRouteAction . setCamelContext ( getCamelContext ( ) ) ; action . setDelegate ( camelRouteAction ) ; }
Stop these Camel routes .