if(existingRef.getType() != null)
ref.setType(mref.getType());
existingRef.setMappedName(ref.getMappedName());
}
}
else if(msgRefs.containsKey(resRefName))
{
MessageDestinationReferenceMetaData mref = msgRefs.get(resRefName);
mref.setMappedName(ref.getMappedName());
}
else