You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by am...@apache.org on 2008/03/19 05:34:07 UTC

svn commit: r638704 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SynchronousMailListener.java

Author: amilas
Date: Tue Mar 18 21:34:03 2008
New Revision: 638704

URL: http://svn.apache.org/viewvc?rev=638704&view=rev
Log:
this message context is already retrived from the operation context so no need to
add this message context to operation context again.


Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SynchronousMailListener.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SynchronousMailListener.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SynchronousMailListener.java?rev=638704&r1=638703&r2=638704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SynchronousMailListener.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SynchronousMailListener.java Tue Mar 18 21:34:03 2008
@@ -90,9 +90,7 @@
                     inMessageContext.getProperty(org.apache.axis2.transport.mail.Constants.CONTENT_TYPE));
             msgCtx.setIncomingTransportName(org.apache.axis2.Constants.TRANSPORT_MAIL);
             msgCtx.setEnvelope(inMessageContext.getEnvelope());
-            if (!operationContext.isComplete()) {
-                operationContext.addMessageContext(msgCtx);
-            }
+
         }
         this.inMessageContext = inMessageContext;
         log.info(" SynchronousMailListener found the required message.");



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