Author: ruwan Date: Tue Jun 9 21:58:11 2009 New Revision: 38408 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=38408
Log: fixing an issue in clustering endpoint context state sharing Modified: branches/synapse/1.3-wso2v1/modules/core/src/main/java/org/apache/synapse/endpoints/EndpointContext.java Modified: branches/synapse/1.3-wso2v1/modules/core/src/main/java/org/apache/synapse/endpoints/EndpointContext.java URL: http://wso2.org/svn/browse/wso2/branches/synapse/1.3-wso2v1/modules/core/src/main/java/org/apache/synapse/endpoints/EndpointContext.java?rev=38408&r1=38407&r2=38408&view=diff ============================================================================== --- branches/synapse/1.3-wso2v1/modules/core/src/main/java/org/apache/synapse/endpoints/EndpointContext.java (original) +++ branches/synapse/1.3-wso2v1/modules/core/src/main/java/org/apache/synapse/endpoints/EndpointContext.java Tue Jun 9 21:58:11 2009 @@ -215,7 +215,7 @@ public void onSuccess() { if (isClustered) { Integer state = (Integer) cfgCtx.getPropertyNonReplicable(STATE_KEY); - if (state != ST_ACTIVE && state != ST_OFF) { + if (state == null || (state != ST_ACTIVE && state != ST_OFF)) { setState(ST_ACTIVE); } } else { _______________________________________________ Esb-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
