You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by az...@apache.org on 2007/07/15 01:12:07 UTC
svn commit: r556352 -
/webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/configuration/DefaultConfigurationManager.java
Author: azeez
Date: Sat Jul 14 16:12:07 2007
New Revision: 556352
URL: http://svn.apache.org/viewvc?view=rev&rev=556352
Log:
When sending exceptionOccurred messages, there is no need to send to self, since the originator already knows of this exception.
Modified:
webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/configuration/DefaultConfigurationManager.java
Modified: webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/configuration/DefaultConfigurationManager.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/configuration/DefaultConfigurationManager.java?view=diff&rev=556352&r1=556351&r2=556352
==============================================================================
--- webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/configuration/DefaultConfigurationManager.java (original)
+++ webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/configuration/DefaultConfigurationManager.java Sat Jul 14 16:12:07 2007
@@ -64,30 +64,12 @@
}
public void commit() throws ClusteringFault {
-
- if (log.isDebugEnabled()) {
- log.debug("Enter: DefaultConfigurationManager::commit");
- }
-
CommitCommand command = new CommitCommand();
send(command);
-
- if (log.isDebugEnabled()) {
- log.debug("Exit: DefaultConfigurationManager::commit");
- }
}
public void exceptionOccurred(Throwable throwable) throws ClusteringFault {
-
- if (log.isDebugEnabled()) {
- log.debug("Enter: DefaultConfigurationManager::exceptionOccurred");
- }
-
- send(new ExceptionCommand(throwable));
-
- if (log.isDebugEnabled()) {
- log.debug("Exit: DefaultConfigurationManager::exceptionOccurred");
- }
+ sender.sendToGroup(new ExceptionCommand(throwable));
}
public void loadServiceGroups(String[] serviceGroupNames) throws ClusteringFault {
@@ -159,7 +141,7 @@
}
protected void send(Throwable throwable) throws ClusteringFault {
- send(new ExceptionCommand(throwable));
+ sender.sendToGroup(new ExceptionCommand(throwable));
}
protected void send(ConfigurationClusteringCommand command) throws ClusteringFault {
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org