You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2010/09/17 17:14:23 UTC
svn commit: r998172 -
/activemq/trunk/activemq-optional/src/test/resources/org/apache/activemq/bugs/amq2764/reconnect-broker2.xml
Author: gtully
Date: Fri Sep 17 15:14:23 2010
New Revision: 998172
URL: http://svn.apache.org/viewvc?rev=998172&view=rev
Log:
ensure no premature abort of connection due to check timeout imbalance: https://issues.apache.org/activemq/browse/AMQ-2764
Modified:
activemq/trunk/activemq-optional/src/test/resources/org/apache/activemq/bugs/amq2764/reconnect-broker2.xml
Modified: activemq/trunk/activemq-optional/src/test/resources/org/apache/activemq/bugs/amq2764/reconnect-broker2.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-optional/src/test/resources/org/apache/activemq/bugs/amq2764/reconnect-broker2.xml?rev=998172&r1=998171&r2=998172&view=diff
==============================================================================
--- activemq/trunk/activemq-optional/src/test/resources/org/apache/activemq/bugs/amq2764/reconnect-broker2.xml (original)
+++ activemq/trunk/activemq-optional/src/test/resources/org/apache/activemq/bugs/amq2764/reconnect-broker2.xml Fri Sep 17 15:14:23 2010
@@ -26,8 +26,9 @@
<broker brokerName="broker2" persistent="false" useShutdownHook="false" useJmx="false" xmlns="http://activemq.apache.org/schema/core">
<transportConnectors>
- <!-- configure a low inactivity monitor check time to ensure all messages are received quickly -->
- <transportConnector uri="http://localhost:61617?transport.readCheckTime=4000&transport.initialDelayTime=4000"/>
+ <!-- configure a low inactivity monitor check time to ensure all messages are received quickly, ask for a response as
+ peer will have 30 second inactivity delay so won't satisfy our read check till 30+ delay -->
+ <transportConnector uri="http://localhost:61617?transport.readCheckTime=4000&transport.initialDelayTime=4000&transport.keepAliveResponseRequired=true"/>
</transportConnectors>
</broker>