private String getQueue ( final JobSubmissionEvent jobSubmissionEvent ) { try { return Tang . Factory . getTang ( ) . newInjector ( jobSubmissionEvent . getConfiguration ( ) ) . getNamedInstance ( JobQueue . class ) ; } catch ( final InjectionException e ) { return this . defaultQueueName ; } }
Extract the queue name from the jobSubmissionEvent or return default if none is set .