activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-2196) InactivityMonitor Issues
Date Tue, 02 Feb 2010 20:25:32 GMT

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

Timothy Bish resolved AMQ-2196.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.3.1

Added a configuration option to the inactivity monitor "ignoreRemoteWireFormat" which allows
you to override the default behaviour in case you are stuck using an older ActiveMQ-CPP that
doesn't send the inactivity duration values to the broker.

> InactivityMonitor Issues
> ------------------------
>
>                 Key: AMQ-2196
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2196
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Marc Breslow
>            Assignee: Timothy Bish
>             Fix For: 5.3.1, 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