code: private void purgeQueue(Queue queue, Session session) throws JMSException {
          purgeDestination(queue, session, queue.getQueueName());
      }
docs: Purges a queue destination.
  @param queue
  @param session
  @throws JMSException