tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r463281 - in /tomcat/tc6.0.x/trunk: java/org/apache/catalina/tribes/transport/AbstractSender.java webapps/docs/config/cluster-sender.xml
Date Thu, 12 Oct 2006 15:33:03 GMT
Author: fhanik
Date: Thu Oct 12 08:33:02 2006
New Revision: 463281

URL: http://svn.apache.org/viewvc?view=rev&rev=463281
Log:
Added in ack attribute

Modified:
    tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/transport/AbstractSender.java
    tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-sender.xml

Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/transport/AbstractSender.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/transport/AbstractSender.java?view=diff&rev=463281&r1=463280&r2=463281
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/transport/AbstractSender.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/tribes/transport/AbstractSender.java Thu
Oct 12 08:33:02 2006
@@ -57,7 +57,7 @@
     private boolean soLingerOn = false;
     private int soLingerTime = 3;
     private int soTrafficClass = 0x04 | 0x08 | 0x010;
-    private boolean throwOnFailedAck = false;
+    private boolean throwOnFailedAck = true;
     
     /**
      * transfers sender properties from one sender to another

Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-sender.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-sender.xml?view=diff&rev=463281&r1=463280&r2=463281
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-sender.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/config/cluster-sender.xml Thu Oct 12 08:33:02 2006
@@ -124,6 +124,12 @@
        Boolean value for the socket TCP_NODELAY option. Possible values are <code>true</code>
or <code>false</code>.
        The default value is <code>true</code>
       </attribute>
+      <attribute name="throwOnFailedAck" required="false">
+       Boolean value, default value is <code>true</code>.
+       If set to true, the sender will throw a <code>org.apache.catalina.tribes.RemoteProcessException</code>
+       when we receive a negative ack from the remote member.
+       Set to false, and Tribes will treat a positive ack the same way as a negative ack,
that the message was received.
+      </attribute>
     </attributes>
   </subsection>
   <subsection name="PooledParallelSender Attributes">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message