activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Davies (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-2196) InactivityMonitor Issues
Date Fri, 04 Sep 2009 18:59:14 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rob Davies updated AMQ-2196:
----------------------------

    Fix Version/s: 5.4.0

> InactivityMonitor Issues
> ------------------------
>
>                 Key: AMQ-2196
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2196
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Marc Breslow
>             Fix For: 5.4.0
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> InactivityMonitor should not simply use the minimum of the local and remote maxInactivityDuration
parameter
> InactivityMonitor.java uses the following configuration
>         readCheckTime = Math.min(localWireFormatInfo.getMaxInactivityDuration(), remoteWireFormatInfo.getMaxInactivityDuration());
>         initialDelayTime =  Math.min(localWireFormatInfo.getMaxInactivityDurationInitalDelay(),
remoteWireFormatInfo.getMaxInactivityDurationInitalDelay());
> Because of this, I can't simply define a maxInactivityDuration on my JMS server.  I need
to make sure that the clients specify a value that is greater then or equal to the server
configured value.  
> CMS doesn't yet supply this parameter when it makes an openwire connection so in my mixed
Java/C++ application environment, I can't bump the inactivity timeout > 30s (the default).
 Why should the server setting for how long to go before timing out a connection be influenced
by what the client requests?  Client can always terminate the connection.
> I suggest that this be changed to
>         readCheckTime = localWireFormatInfo.getMaxInactivityDuration();
>         initialDelayTime = localWireFormatInfo.getMaxInactivityDurationInitalDelay();

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message