while (iter.hasNext()) {
Message message = iter.next();
ResourceId resourceId = message.getResourceId();
ResourceConfig resource = resourceMap.get(resourceId);
ParticipantId participantId = ParticipantId.from(message.getTgtName());
Participant liveParticipant = liveParticipantMap.get(participantId);
String participantVersion = null;
if (liveParticipant != null) {
participantVersion = liveParticipant.getRunningInstance().getVersion().toString();
}