You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by am...@apache.org on 2009/09/29 14:48:14 UTC

svn commit: r819909 - /webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/msgprocessors/SequenceProcessor.java

Author: amilas
Date: Tue Sep 29 12:48:13 2009
New Revision: 819909

URL: http://svn.apache.org/viewvc?rev=819909&view=rev
Log:
return the thread always if it is getting the response at the client side. there was a bug 
not returing 202 Accepted for response messages for dual channel case

Modified:
    webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/msgprocessors/SequenceProcessor.java

Modified: webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/msgprocessors/SequenceProcessor.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/msgprocessors/SequenceProcessor.java?rev=819909&r1=819908&r2=819909&view=diff
==============================================================================
--- webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/msgprocessors/SequenceProcessor.java (original)
+++ webservices/sandesha/trunk/java/modules/core/src/main/java/org/apache/sandesha2/msgprocessors/SequenceProcessor.java Tue Sep 29 12:48:13 2009
@@ -428,6 +428,13 @@
 					t.acknowledgeMessage(msgCtx);
 				}
 			}
+
+            // if the relates to is not null then this is at the client side
+            // so it is receiving a response. always have to return the thread.
+            if (msgCtx.getRelatesTo() != null) {
+                result = InvocationResponse.ABORT;
+            }
+
 		}
 
 		if (transaction != null && transaction.isActive()) 



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