messaging-activemq/src/main/java/org/wildfly/extension/messaging/activemq/QueueService.java
@Override
    public synchronized void stop(StopContext context) {
        try {
            final ActiveMQServer server = this.activeMQServerSupplier.get();
            server.destroyQueue(new SimpleString(queueConfiguration.getName()), null, false);
            MessagingLogger.ROOT_LOGGER.debugf("Destroying queue from server %s queue with name: %s",server.getNodeID() , new SimpleString(queueConfiguration.getName()));
        } catch(Exception e) {
            MessagingLogger.ROOT_LOGGER.failedToDestroy("queue", queueConfiguration.getName());
        }
    }
@Override
    public synchronized void stop(StopContext context) {
        try {
            final ActiveMQServer server = this.activeMQServerSupplier.get();
            server.destroyQueue(new SimpleString(queueConfiguration.getName()), null, false);
            MessagingLogger.ROOT_LOGGER.debugf("Destroying queue from server %s queue with name: %s",server.getNodeID() , new SimpleString(queueConfiguration.getName()));
        } catch(Exception e) {
            MessagingLogger.ROOT_LOGGER.failedToDestroy("queue", queueConfiguration.getName());
        }
    }
@ Override public synchronized void stop ( StopContext context ) { try { final ActiveMQServer server = this . activeMQServerSupplier . get ( ) ; server . destroyQueue ( new SimpleString ( queueConfiguration . getName ( ) ) , null , false ) ; MessagingLogger . ROOT_LOGGER . debugf ( "Destroying queue from server %s queue with name: %s" , server . getNodeID ( ) , new SimpleString ( queueConfiguration . getName ( ) ) ) ; } catch ( Exception e ) { MessagingLogger . ROOT_LOGGER . failedToDestroy ( "queue" , queueConfiguration . getName ( ) ) ; } }
{@inheritDoc}
{