// TODO
// Check if the exchange is in use.
// boolean inUse = false;
// Check if there are queue-bindings with the exchange and unregister
// when there are no bindings.
CurrentActor.set(new ManagementActor(_logActor.getRootMessageLogger()));
try
{
_exchangeRegistry.unregisterExchange(new AMQShortString(exchangeName), false);
}
catch (AMQException ex)