protected void onJobExecute(Action action, Route route) throws Exception {
if (LOG.isDebugEnabled()) {
LOG.debug("Scheduled Event notification received. Performing requested operation " + action + " for route " + route.getId());
}
ServiceStatus routeStatus = route.getRouteContext().getCamelContext().getRouteStatus(route.getId());
if (action == Action.START) {
if (routeStatus == ServiceStatus.Stopped) {
startRoute(route);
} else if (routeStatus == ServiceStatus.Suspended) {
startConsumer(route.getConsumer());