final LogMessage warnMessage, final String closeMessage) throws AMQException
{
if (isTimedOut(timeSoFar, warnTimeout))
{
LogActor logActor = CurrentActor.get();
logActor.message(_logSubject, warnMessage);
}
if(isTimedOut(timeSoFar, closeTimeout))
{
_closeAction.doTimeoutAction(closeMessage);