/** {@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());
}
}