This is an automated email from the ASF dual-hosted git repository. billblough pushed a commit to branch 1_4 in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-sandesha.git
commit 5a14207ec0402d18277d16d40babe02695fad364 Author: Andreas Veithen <veit...@apache.org> AuthorDate: Sat Dec 18 20:50:54 2010 +0000 Merged r1050705 to the 1.4 branch. This should make the test suite pass with Axis2 1.5.4-SNAPSHOT. --- .../core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java b/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java index cef5937..37a001b 100644 --- a/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java +++ b/modules/core/src/main/java/org/apache/sandesha2/workers/SenderWorker.java @@ -682,6 +682,9 @@ public class SenderWorker extends SandeshaWorker implements Runnable { //if the syncResponseWas not built here and the client was not expecting a sync response. We will not try to execute //here. Doing so will cause a double invocation for a async message. if (msgCtx.getOptions().isUseSeparateListener()==true && !syncResponseBuilt) { + // Since the client is not expecting a sync response, it will not (necessarily) call cleanup. + // If we discard the response, then we need to clean up here. + msgCtx.getTransportOut().getSender().cleanup(msgCtx); return; }