[
https://issues.apache.org/jira/browse/AMQCPP-608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish closed AMQCPP-608.
-------------------------------
Resolution: Not A Problem
Test code and the useInactivityMonitor does indeed disable the client side
monitoring.
> cannot disable InactivityMonitor
> --------------------------------
>
> Key: AMQCPP-608
> URL: https://issues.apache.org/jira/browse/AMQCPP-608
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Reporter: Wolfgang Klein
> Attachments: activemq.log, activemq.xml
>
>
> Broker Version: wok as 1033373 Jun 4 2014
> activemq-broker-5.10-SNAPSHOT.jar I don't know which Subversion it is, maybe
> the date clarifies.
> Client: libactivemq-cpp.so.19
> I tried Setting in active.xml:
> <transportConnector name="openwire"
> uri="tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600;transport.useInactivityMonitor=false;wireFormat.maxInactivityDuration=66666"/>
> and in the Client API:
> brokerURI
> tcp://wlp-sc1:61616?wireFormat=openwire&transport.useAsyncSend=true&inputBufferSize=32767&outputBufferSize=32767&transport.commandTracingEnabled=true&transport.tcpTracingEnabled=true&wireFormat.maxInactivityDuration=55555&transport.useInactivityMonitor=false&transport.useKeepAlive=true&wireFormat.tightEncodingEnabled=false
> But in the Broker log I see
> 2017-01-25 11:57:07,868 | DEBUG | Using min of local: WireFormatInfo {
> version=10, properties={TcpNoDelayEnabled=true, SizePrefixDisabled=false,
> CacheSize=1024, StackTraceEnabled=true, CacheEnabled=true,
> TightEncodingEnabled=true, MaxFrameSize=9223372036854775807,
> MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000},
> magic=[A,c,t,i,v,e,M,Q]} and remote: WireFormatInfo { version=11,
> properties={CacheSize=1024, SizePrefixDisabled=false, TcpNoDelayEnabled=true,
> StackTraceEnabled=true, CacheEnabled=false, TightEncodingEnabled=false,
> MaxInactivityDuration=30000, MaxInactivityDurationInitalDelay=10000},
> magic=[A,c,t,i,v,e,M,Q]} | org.apache.activemq.transport.InactivityMonitor |
> ActiveMQ Transport: tcp:///10.56.231.72:22017@61616
> org.apache.activemq.transport.InactivityIOException: Channel was inactive for
> too (>30000) long: tcp://10.56.231.72:9894
> [
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)