return startup;
}
public static ProxyService defineProxy(SynapseConfiguration config, OMElement elem,
Properties properties) {
ProxyService proxy = null;
try {
proxy = ProxyServiceFactory.createProxy(elem, properties);
if (proxy != null) {
config.addProxyService(proxy.getName(), proxy);
}
} catch (Exception e) {
String msg = "Proxy Service configuration: " + elem.getAttributeValue((
new QName(XMLConfigConstants.NULL_NAMESPACE, "name"))) + " cannot be built";
handleConfigurationError(SynapseConstants.FAIL_SAFE_MODE_PROXY_SERVICES, msg, e);