Package org.hornetq.core.server

Examples of org.hornetq.core.server.HornetQServer.destroyQueue()


    /** {@inheritDoc} */
    @Override
    public synchronized void stop(StopContext context) {
        try {
            final HornetQServer hornetQService = this.hornetQService.getValue();
            hornetQService.destroyQueue(new SimpleString(queueConfiguration.getName()), null);
        } catch(Exception e) {
            MESSAGING_LOGGER.failedToDestroy("queue", queueConfiguration.getName());
        }
    }

View Full Code Here


    /** {@inheritDoc} */
    @Override
    public synchronized void stop(StopContext context) {
        try {
            final HornetQServer hornetQService = this.hornetQService.getValue();
            hornetQService.destroyQueue(new SimpleString(queueConfiguration.getName()), null, false);
        } catch(Exception e) {
            MESSAGING_LOGGER.failedToDestroy("queue", queueConfiguration.getName());
        }
    }

View Full Code Here

    /** {@inheritDoc} */
    @Override
    public synchronized void stop(StopContext context) {
        try {
            final HornetQServer hornetQService = this.hornetQService.getValue();
            hornetQService.destroyQueue(new SimpleString(queueName), null);
        } catch(Exception e) {
            Logger.getLogger("org.jboss.messaging").warnf(e, "failed to destroy queue (%s)", queueName);
        }
    }

View Full Code Here

    /** {@inheritDoc} */
    public synchronized void stop(StopContext context) {
        try {
            final HornetQServer hornetQService = this.hornetQService.getValue();
            hornetQService.destroyQueue(new SimpleString(queueName), null);
        } catch(Exception e) {
            Logger.getLogger("org.jboss.messaging").warnf(e, "failed to destroy queue (%s)", queueName);
        }
    }

View Full Code Here

    /** {@inheritDoc} */
    @Override
    public synchronized void stop(StopContext context) {
        try {
            final HornetQServer hornetQService = this.hornetQService.getValue();
            hornetQService.destroyQueue(new SimpleString(queueConfiguration.getName()), null);
        } catch(Exception e) {
            Logger.getLogger("org.jboss.messaging").warnf(e, "failed to destroy queue (%s)", queueConfiguration.getName());
        }
    }

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.