agave-notifications/notifications-core/src/main/java/org/iplantc/service/notification/queue/runnable/NotificationWorkQueue.java
/**
	 * Starts the work queue and, if necessary, the Quartz scheduler. Note that this will 
	 * only start the scheduler named in the properties file used to initialized this 
	 * work queue. Other schedulers will remain untouched.
	 *  
	 * @throws NotificationException
	 */
Starts the work queue and, if necessary, the Quartz scheduler. Note that this will
only start the scheduler named in the properties file used to initialized this
work queue. Other schedulers will remain untouched.


Starts the work queue and if necessary the Quartz scheduler . Note that this will only start the scheduler named in the properties file used to initialized this work queue . Other schedulers will remain untouched .
public void start() throws NotificationException {
		try {
			if (getScheduler() != null) { 
				if (!getScheduler().isStarted() || !getScheduler().isInStandbyMode()) {
					getScheduler().start();
				} else {
					log.debug("Skipping startup as scheduler is already running.");
				}
			}
			else {
				throw new NotificationException("Failed to start existing work queue. "
						+ "No scheduler has been initialized");
			}
		}
		catch (SchedulerException e) {
			throw new NotificationException("Failed to start existing work queue.", e);
		}
	}
public void start ( ) throws NotificationException { try { if ( getScheduler ( ) != null ) { if ( ! getScheduler ( ) . isStarted ( ) || ! getScheduler ( ) . isInStandbyMode ( ) ) { getScheduler ( ) . start ( ) ; } else { log . debug ( "Skipping startup as scheduler is already running." ) ; } } else { throw new NotificationException ( "Failed to start existing work queue. " + "No scheduler has been initialized" ) ; } } catch ( SchedulerException e ) { throw new NotificationException ( "Failed to start existing work queue." , e ) ; } }
Starts the work queue and, if necessary, the Quartz scheduler.
Starts the work queue and if necessary the Quartz scheduler .