}
if (!unacked.isQueueDeleted())
{
// Redeliver the messages to the front of the queue
deliveryContext.requeue(unacked);
// Deliver increments the message count but we have already deliverted this once so don't increment it again
// this was because deliver did an increment changed this.
}
else
{