axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r395588 - /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/jms/JMSSender.java
Date Thu, 20 Apr 2006 13:45:00 GMT
Author: dims
Date: Thu Apr 20 06:44:58 2006
New Revision: 395588

URL: http://svn.apache.org/viewcvs?rev=395588&view=rev
Log:
get JMSEchoRawXMLTest#testEchoXMLSync working

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/jms/JMSSender.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/jms/JMSSender.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/jms/JMSSender.java?rev=395588&r1=395587&r2=395588&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/jms/JMSSender.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/transport/jms/JMSSender.java
Thu Apr 20 06:44:58 2006
@@ -204,7 +204,7 @@
             }
         }
 
-        String endpointAddress = msgContext.getTo().getAddress();
+        String endpointAddress = msgContext.getTo() != null ? msgContext.getTo().getAddress()
: null;
         boolean waitForResponse = false;
 
         if (dest == null) {
@@ -215,6 +215,8 @@
                     .equals(Boolean.TRUE)) {
                 waitForResponse = !((Boolean) msgContext.getProperty(
                         Constants.Configuration.IS_USING_SEPARATE_LISTENER)).booleanValue();
+            } else {
+                waitForResponse = !msgContext.getOptions().isUseSeparateListener();
             }
         } else {
             if (properties != null) {



Mime
View raw message