Christoffer Sawicki created AMQ-4409:
----------------------------------------
Summary: Documentation is wrong about default value for
wireFormat.tcpNoDelayEnabled
Key: AMQ-4409
URL: https://issues.apache.org/jira/browse/AMQ-4409
Project: ActiveMQ
Issue Type: Bug
Affects Versions: 5.8.0
Reporter: Christoffer Sawicki
Priority: Minor
http://activemq.apache.org/configuring-wire-formats.html states that the
default value for {{tcpNoDelayEnabled}} is false.
This contradicts what the debug logs says if I don't change the parameter:
{noformat}
12:10:06.827 DEBUG org.apache.activemq.transport.InactivityMonitor - Using min
of local: WireFormatInfo { version=9,
properties={MaxFrameSize=9223372036854775807, CacheSize=1024,
CacheEnabled=true, SizePrefixDisabled=false,
MaxInactivityDurationInitalDelay=10000, TcpNoDelayEnabled=true,
MaxInactivityDuration=30000, TightEncodingEnabled=true,
StackTraceEnabled=true}, magic=[A,c,t,i,v,e,M,Q]} and remote: WireFormatInfo {
version=9, properties={CacheSize=1024, MaxFrameSize=31337, CacheEnabled=true,
SizePrefixDisabled=false, TcpNoDelayEnabled=true,
MaxInactivityDurationInitalDelay=10000, MaxInactivityDuration=15000,
TightEncodingEnabled=true, StackTraceEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
{noformat}
Note the {{TcpNoDelayEnabled=true}}!
This default value seems to come from
{{org/apache/activemq/openwire/OpenWireFormatFactory.java}} which states
{noformat}
private boolean tcpNoDelayEnabled = true;
{noformat}
I think that either the documentation or the code should be updated.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira