axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From az...@apache.org
Subject svn commit: r612417 - /webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/ChannelSender.java
Date Wed, 16 Jan 2008 11:06:28 GMT
Author: azeez
Date: Wed Jan 16 03:06:24 2008
New Revision: 612417

URL: http://svn.apache.org/viewvc?rev=612417&view=rev
Log:
Preserve sender ordering even for ASYNC messages


Modified:
    webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/ChannelSender.java

Modified: webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/ChannelSender.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/ChannelSender.java?rev=612417&r1=612416&r2=612417&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/ChannelSender.java
(original)
+++ webservices/axis2/trunk/java/modules/clustering/src/org/apache/axis2/clustering/tribes/ChannelSender.java
Wed Jan 16 03:06:24 2008
@@ -65,7 +65,9 @@
                                  Channel.SEND_OPTIONS_SYNCHRONIZED_ACK |
                                  TribesClusterManager.MSG_ORDER_OPTION);
                 } else {
-                    channel.send(members, toByteMessage(msg), Channel.SEND_OPTIONS_ASYNCHRONOUS);
+                    channel.send(members, toByteMessage(msg),
+                                 Channel.SEND_OPTIONS_ASYNCHRONOUS |
+                                 TribesClusterManager.MSG_ORDER_OPTION);
                 }
                 if (log.isDebugEnabled()) {
                     log.debug("Sent " + msg + " to group");



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