{
throw new RuntimeException("IOException should not be thrown here", e);
}
}
BindingFactory bf = _virtualHost.getBindingFactory();
Map<String, Object> argumentMap = FieldTable.convertToMap(argumentsFT);
if(bf.getBinding(bindingKey, queue, exchange, argumentMap) == null)
{
_logger.info("Restoring binding: (Exchange: " + exchange.getNameShortString() + ", Queue: " + queue.getName()
+ ", Routing Key: " + bindingKey + ", Arguments: " + argumentsFT + ")");
bf.restoreBinding(bindingId, bindingKey, queue, exchange, argumentMap);
}
}
}
catch (AMQException e)
{