ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r543436 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java
Date Fri, 01 Jun 2007 09:09:22 GMT
Author: deepal
Date: Fri Jun  1 02:09:21 2007
New Revision: 543436

URL: http://svn.apache.org/viewvc?view=rev&rev=543436
Log:
fixing incorrect logic (no need to go thru SynchronousMailListener , if we find the corresponding
 operation context)

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

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java?view=diff&rev=543436&r1=543435&r2=543436
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/mail/SimpleMailListener.java
Fri Jun  1 02:09:21 2007
@@ -382,6 +382,7 @@
                     msgContext.setAxisMessage(inMessage);
                     opContext.addMessageContext(msgContext);
                     msgContext.setServiceContext(opContext.getServiceContext());
+                    return true;
                 }
             }
         }
@@ -391,10 +392,9 @@
             SynchronousMailListener listener = (SynchronousMailListener) callBackTable.get(messageID);
             if(listener!=null){
                 listener.setInMessageContext(msgContext);
-                return false;
             }
         }
-        return true;
+        return false;
     }
 
     private void buildSOAPEnvelope(MimeMessage msg, MessageContext msgContext)



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


Mime
View raw message