protected void updateMessageState(
Message message, Message.State state, String logText)
throws MessageStateLogException, DBException
{
//Add log entry
MessageStateLogItem logItem =
MessageStateLogItem.createLogItem(
message, state, hostname, responderId);
logItem.setLogText(logText);
processingLog.addLogItem(logItem);
//Update message state flag
messageDao.setResponderProcessingState(
message.getGuid(), responderId, state);