ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r579222 - /webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/util/FaultManager.java
Date Tue, 25 Sep 2007 12:42:18 GMT
Author: deepal
Date: Tue Sep 25 05:42:17 2007
New Revision: 579222

URL: http://svn.apache.org/viewvc?rev=579222&view=rev
Log:
In the client side if it gets ackReq after sequence is terminated , no need to send a fault
to the server or need to throw exception 

Modified:
    webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/util/FaultManager.java

Modified: webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/util/FaultManager.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/util/FaultManager.java?rev=579222&r1=579221&r2=579222&view=diff
==============================================================================
--- webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/util/FaultManager.java
(original)
+++ webservices/sandesha/branches/sandesha2/java/1_3/modules/core/src/main/java/org/apache/sandesha2/util/FaultManager.java
Tue Sep 25 05:42:17 2007
@@ -529,8 +529,10 @@
 		//if this is throwable throwing it out, else we will log here.
 		
 		if (throwable)
-			throw fault;	
-		else
+            if (referenceRMMsgContext.getMessageContext().isServerSide()) {
+                throw fault;
+            }
+        else
 			log.error("Sandesha2 got a fault when processing the message essage " + referenceRMMsgContext.getMessageId(),
fault);
 		
 	}



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org


Mime
View raw message