public void processMessage() { try { if (m_session.hasResponder()) { m_session.next(m_message); } else { try { final String msgType = m_message.getHeader().getString(MsgType.FIELD); if (msgType.equals(MsgType.LOGOUT)) { m_session.next(m_message); } } catch (FieldNotFound ex) { } } } catch (Throwable e) { LogUtil.logThrowable(m_session, e.getMessage(), e); } }