for (Iterator iterator = result.childNodes(); iterator.hasNext();) {
Node next = (Node)iterator.next();
if(!"UWSInfo".equalsIgnoreCase(next.name())) {
continue;
}
rawUWSInfo = next.text();
msgMeta = rawUWSInfo.replaceAll(msgMetaRegex, "$1").trim();
LOG.info("Message META DATA : {}", msgMeta);
}
} catch (Exception ex) {
LOG.error("Message Meta Data parsing exception : {}", ex.getMessage());