// if the reference was busy during the previous iteration, handle it now
if (current != null)
{
try
{
HandleStatus status = handle(current);
if (status == HandleStatus.BUSY)
{
return;
}
if (status == HandleStatus.HANDLED)
{
proceedDeliver(current);
}
current = null;
}
catch (Exception e)
{
HornetQServerLogger.LOGGER.errorBrowserHandlingMessage(e, current);
return;
}
}
MessageReference ref = null;
HandleStatus status;
while (true)
{
try
{