ensure no premature abort of connection due to check timeout imbalance: https://issues.apache.org/activemq/browse/AMQ-2764

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@998172 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-09-17 15:14:23 +00:00
parent ba78db89a3
commit 0cd916e2a2
1 changed files with 3 additions and 2 deletions

View File

@ -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&amp;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&amp;transport.initialDelayTime=4000&amp;transport.keepAliveResponseRequired=true"/>
</transportConnectors>
</broker>