//http://jira.jboss.com/jira/browse/JBMESSAGING-839
log.warn(this + " cannot find reference " + id + " (Might be paged!)");
break;
}
MessageReference ref = (MessageReference)liter.next();
if (ref.getMessage().getMessageID() == id.longValue())
{
liter.remove();
Delivery del = new SimpleDelivery(this, ref);