AsteriskQueueImpl getQueueByName(String queueName)
    {
        refreshQueueIfForced(queueName);

        AsteriskQueueImpl queue = getInternalQueueByName(queueName);
        if (queue == null)
        {
            logger.error("Requested queue '" + queueName + "' not found!");
        }

        return queue;
    }
AsteriskQueueImpl getQueueByName ( String queueName ) { refreshQueueIfForced ( queueName ) ; AsteriskQueueImpl queue = getInternalQueueByName ( queueName ) ; if ( queue == null ) { logger . error ( "Requested queue '" + queueName + "' not found!" ) ; } return queue ; }
Retrieves a queue by its name.

@param queueName name of the queue.
@return the requested queue or <code>null</code> if there is no queue
with the given name.