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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to