axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidills...@apache.org
Subject svn commit: r611191 - in /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description: ClientUtils.java OutInAxisOperation.java
Date Fri, 11 Jan 2008 14:47:06 GMT
Author: davidillsley
Date: Fri Jan 11 06:47:03 2008
New Revision: 611191

URL: http://svn.apache.org/viewvc?rev=611191&view=rev
Log:
Client update - use useSeparateListener from both options object

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/ClientUtils.java
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/ClientUtils.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/ClientUtils.java?rev=611191&r1=611190&r2=611191&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/ClientUtils.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/ClientUtils.java
Fri Jan 11 06:47:03 2008
@@ -97,7 +97,7 @@
             }
         }
         TransportInDescription transportIn = null;
-        if (options.isUseSeparateListener()) {
+        if (options.isUseSeparateListener() || msgCtxt.getOptions().isUseSeparateListener())
{
             if ((listenerTransportProtocol != null) && !"".equals(listenerTransportProtocol))
{
                 transportIn = ac.getTransportIn(listenerTransportProtocol);
                 ListenerManager listenerManager =

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.java?rev=611191&r1=611190&r2=611191&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.java
Fri Jan 11 06:47:03 2008
@@ -186,7 +186,7 @@
          * async calls alone.
          */
         boolean useAsync = false;
-        if (!options.isUseSeparateListener()) {
+        if (!mc.getOptions().isUseSeparateListener()) {
             Boolean useAsyncOption =
                     (Boolean) mc.getProperty(Constants.Configuration.USE_ASYNC_OPERATIONS);
             if (useAsyncOption != null) {
@@ -206,7 +206,7 @@
             }
         }
 
-        if (useAsync || options.isUseSeparateListener()) {
+        if (useAsync || mc.getOptions().isUseSeparateListener()) {
             sendAsync(useAsync, mc);
         } else {
             if (block) {
@@ -224,7 +224,7 @@
             throws AxisFault {
         if (log.isDebugEnabled()) {
             log.debug("useAsync=" + useAsync + ", seperateListener=" +
-                    options.isUseSeparateListener());
+                    mc.getOptions().isUseSeparateListener());
         }
         /**
          * We are following the async path. If the user hasn't set a callback object then
we must



---------------------------------------------------------------------
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