}
@Override
public void queueQuery(Session session, QueueQuery method)
{
QueueQueryResult result = new QueueQueryResult();
AMQQueue queue = getQueue(session, method.getQueue());
if(queue != null)
{
result.setQueue(queue.getNameShortString().toString());
result.setDurable(queue.isDurable());
result.setExclusive(queue.isExclusive());
result.setAutoDelete(queue.isAutoDelete());
result.setArguments(queue.getArguments());
result.setMessageCount(queue.getMessageCount());
result.setSubscriberCount(queue.getConsumerCount());
}
session.executionResult((int) method.getId(), result);