String nameString = proxy.getName();
if (nameString == null || "".equals(nameString)) {
nameString = SynapseConstants.ANONYMOUS_PROXYSERVICE;
}
AspectConfiguration aspectConfiguration = new AspectConfiguration(nameString);
proxy.configure(aspectConfiguration);
OMAttribute statistics = elem.getAttribute(new QName(XMLConfigConstants.NULL_NAMESPACE,
XMLConfigConstants.STATISTICS_ATTRIB_NAME));
if (statistics != null) {
String statisticsValue = statistics.getAttributeValue();