if (event == null) {
//getLogger().debug("Got NULL event");
return;
}
//getLogger().debug("Got event of type {}", event.eventType());
MessageIterator msgIter = event.messageIterator();
CorrelationID realCID = null;
while (msgIter.hasNext()) {
Message msg = msgIter.next();
if (event.eventType() == Event.EventType.SESSION_STATUS) {
if (msg.messageType().toString().equals("SessionTerminated")) {