You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2010/05/14 11:21:21 UTC

[jira] Resolved: (AMQ-2733) Allow inacivity monitor to timeout slow consumers - disable keep alive option, useKeepAlive=false

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

Gary Tully resolved AMQ-2733.
-----------------------------

    Resolution: Fixed

resolve in r944163

transport option on the brokerUrl to the connection factory: {code}?useKeepAlive=false&wireFormat.maxInactivityDuration=2000"{code}

on the broker transport connector, the inactivity monitor can be disabled {code}?transport.useInactivityMonitor=false{code} or options can be specified like {code}?transport.useInactivityMonitor=false&transport.useKeepAlive=false"{code} note the use of the "transport." prefix on the broker side.

as an aside, there is also the option to ignore the broker negotiation, ignoreRemoteWireFormat=true on the brokerUrl. 

> Allow inacivity monitor to timeout slow consumers - disable keep alive option, useKeepAlive=false
> -------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2733
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2733
>             Project: ActiveMQ
>          Issue Type: New Feature
>          Components: Transport
>    Affects Versions: 5.3.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.4.0
>
>
> add option to disable keep alive in the inactivity monitor such that it can be used to abort a connection with no activity on it. For example, a slow consumer or simply an idle connection with no jms activity.

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