You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by ch...@apache.org on 2007/03/16 11:42:56 UTC
svn commit: r518933 -
/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/FailoverEndpointFactory.java
Author: chathura_ce
Date: Fri Mar 16 03:42:54 2007
New Revision: 518933
URL: http://svn.apache.org/viewvc?view=rev&rev=518933
Log:
Minor fix. FailoverEndpointFactory checked the name attribute in the <failover> element. Changed it to get name attribute from the <endpoint> element.
Modified:
webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/FailoverEndpointFactory.java
Modified: webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/FailoverEndpointFactory.java
URL: http://svn.apache.org/viewvc/webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/FailoverEndpointFactory.java?view=diff&rev=518933&r1=518932&r2=518933
==============================================================================
--- webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/FailoverEndpointFactory.java (original)
+++ webservices/synapse/trunk/java/modules/core/src/main/java/org/apache/synapse/config/xml/endpoints/FailoverEndpointFactory.java Fri Mar 16 03:42:54 2007
@@ -62,7 +62,7 @@
FailoverEndpoint failoverEndpoint = new FailoverEndpoint();
// set endpoint name
- String name = failoverElement.getAttributeValue(new QName("name"));
+ String name = epConfig.getAttributeValue(new QName("name"));
if (name != null) {
failoverEndpoint.setName(name);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org