private void dropTemporaryQueues ( ) { synchronized ( temporaryQueues ) { Iterator < String > remainingQueues = temporaryQueues . iterator ( ) ; while ( remainingQueues . hasNext ( ) ) { String queueName = remainingQueues . next ( ) ; try { deleteTemporaryQueue ( queueName ) ; } catch ( JMSException e ) { ErrorTools . log ( e , log ) ; } } } }
Drop all registered temporary queues