}
}
}
private boolean isReplacePortAttribute(Invocation invocation) {
AttributeInfo attr = XmlFilteringUtils.getAttributeNameToWrite(invocation, "");
if (TCPTRANSPORT_PORT_ATTRIBUTE.equals(attr.getName())) {
if (RUNTIME_PORT_CHANGE_VALUE.equals(attr.getValue())) return true;
String attrValue = attr.getValue();
int portNumber = -1;
if (attrValue != null) {
try {
portNumber = Integer.parseInt(attrValue);
} catch(NumberFormatException e) {