ReadNextMessage readNextMessage = (ReadNextMessage) object;
invocation = (Element) readNextMessage.getAny();
}
else if (object instanceof DeleteNextUnitOfWork)
{
DeleteNextUnitOfWork deleteNextUnitOfWork = (DeleteNextUnitOfWork) object;
invocation = (Element) deleteNextUnitOfWork.getAny();
}
}
if (invocation != null)
{