{
if (!performGet(queue,protocolConnection, channel, !body.getNoAck()))
{
MethodRegistry methodRegistry = protocolConnection.getMethodRegistry();
// TODO - set clusterId
BasicGetEmptyBody responseBody = methodRegistry.createBasicGetEmptyBody(null);
protocolConnection.writeFrame(responseBody.generateFrame(channelId));
}
}
catch (AccessControlException e)
{
throw body.getConnectionException(AMQConstant.ACCESS_REFUSED,