[CONF] Apache ActiveMQ > Configuring Wire Formats
Title: Message Title Paul Gale edited a page Change comment: Fix formatting for table contents. Configuring Wire Formats ... OpenWire is the default wire format used by ActiveMQ. It provides a highly efficient binary format for high speed messaging. OpenWire options can be configured on a JMS client's connection URI or on a broker's transport bind URI. Option Default Value Description cacheEnabled true Should commonly repeated values be cached so that less marshaling occurs? cacheSize 1024 When cacheEnabled=true then this parameter is used to specify the number of values to be cached. maxInactivityDuration 3 The maximum inactivity duration (before which the socket is considered dead) in milliseconds. On some platforms it can take a long time for a socket to die. Therefore allow the broker to kill connections when they have been inactive for the configured period of time. Used by some transports to enable a keep alive heart beat feature. Inactivity monitoring is disabled when set to a value <= 0. maxInactivityDurationInitalDelay 1 The initial delay before starting inactivity checks. Yes, the word 'Inital' is supposed to be misspelled like that. maxFrameSize MAX_LONG Maximum allowed frame size. Can help help prevent OOM DOS attacks. sizePrefixDisabled false Should the size of the packet be prefixed before each packet is marshaled? stackTraceEnabled true Should the stack trace of exception that occur on the broker be sent to the client? tcpNoDelayEnabled true Does not affect the wire format, but provides a hint to the peer that TCP_NODELAY should be enabled on the communications Socket. tightEncodingEnabled true Should wire size be optimized over CPU usage? Warning title Use the Correct Prefix! Wire format options must have the prefix wireFormat. to take effect, e.g., wireFormat.maxInactivityDuration=1. Options missing this prefix will be ignored. ... View page • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.17
[CONF] Apache ActiveMQ > Configuring Wire Formats
Title: Message Title Paul Gale edited a page Change comment: Change table column label. Configuring Wire Formats ... OpenWire is the default wire format used by ActiveMQ. It provides a highly efficient binary format for high speed messaging. OpenWire options can be configured on a JMS client's connection URI or on a broker's transport bind URI. Parameter NameOption Default Value Description cacheEnabled true Should commonly repeated values be cached so that less marshaling occurs? cacheSize 1024 When cacheEnabled=true then this parameter is used to specify the number of values to be cached. maxInactivityDuration 3 The maximum inactivity duration (before which the socket is considered dead) in milliseconds. On some platforms it can take a long time for a socket to die. Therefore allow the broker to kill connections when they have been inactive for the configured period of time. Used by some transports to enable a keep alive heart beat feature. Inactivity monitoring is disabled when set to a value <= 0. maxInactivityDurationInitalDelay 1 The initial delay before starting inactivity checks. Yes, the word 'Inital' is supposed to be misspelled like that. maxFrameSize MAX_LONG Maximum allowed frame size. Can help help prevent OOM DOS attacks. sizePrefixDisabled false Should the size of the packet be prefixed before each packet is marshaled? stackTraceEnabled true Should the stack trace of exception that occur on the broker be sent to the client? tcpNoDelayEnabled true Does not affect the wire format, but provides a hint to the peer that TCP_NODELAY should be enabled on the communications Socket. tightEncodingEnabled true Should wire size be optimized over CPU usage? ... View page • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.17
[CONF] Apache ActiveMQ > Configuring Wire Formats
Title: Message Title Paul Gale edited a page Change comment: Reformatting changes. Configuring Wire Formats ... Parameter Name Default Value Description cacheEnabled true Should commonly repeated values be cached so that less marshaling occurs? cacheSize 1024 When cacheEnabled=true then this parameter is used to specify the number of values to be cached. maxInactivityDuration 3 The maximum inactivity duration (before which the socket is considered dead) in milliseconds. On some platforms it can take a long time for a socket to die. Therefore allow the broker to kill connections when they have been inactive for the configured period of time.Used by some transports to enable a keep alive heart beat feature. Inactivity monitoring is disabled when set to a value <= 0. maxInactivityDurationInitalDelay 1 The initial delay before starting inactivity checks. Yes, the word 'Inital' is supposed to be misspelled like that. maxFrameSize MAX_LONG Maximum allowed frame size. Can help help prevent OOM DOS attacks. sizePrefixDisabled false Should the size of the packet be prefixed before each packet is marshaled? stackTraceEnabled true Should the stack trace of exception that occur on the broker be sent to the client? tcpNoDelayEnabled true Does not affect the wire format, but provides a hint to the peer that that TCP nodelay _NODELAY should be enabled on the communications Socket. tightEncodingEnabled true Should wire size be optimized over CPU usage? ... Example Configurations Java: Code Block language java ActiveMQConnectionFactory cf = ... new ActiveMQConnectionFactory("tcp://localhost:61616?wireFormat.cacheEnabled=false=false"); Spring: Code Block language xml View page • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.17
[CONF] Apache ActiveMQ > Configuring Wire Formats
Title: Message Title Gary Tully edited a page Configuring Wire Formats ... Parameter Name Default Value Description cacheEnabled true Should commonly repeated values be cached so that less marshaling occurs? cacheSize 1024 When cacheEnabled=true then this parameter is used to specify the number of values to be cached. maxInactivityDuration 3 The maximum inactivity duration (before which the socket is considered dead) in milliseconds. On some platforms it can take a long time for a socket to die. Therefore allow the broker to kill connections when they have been inactive for the configured period of time. Used by some transports to enable a keep alive heart beat feature. Inactivity monitoring is disabled when set to a value <= 0. maxInactivityDurationInitalDelay 1 The initial delay before starting inactivity checks. Yes, the word 'Inital' is supposed to be misspelled like that. maxFrameSize MAX_LONG Maximum allowed frame size. Can help help prevent OOM DOS attacks. sizePrefixDisabled false Should the size of the packet be prefixed before each packet is marshaled? stackTraceEnabled true Should the stack trace of exception that occur on the broker be sent to the client? tcpNoDelayEnabled true Does not affect the wire format, but provides a hint to the peer that TCP nodelay should be enabled on the communications Socket. tightEncodingEnabled true Should wire size be optimized over CPU usage? ... Example Configurations Java: ... ActiveMQConnectionFactory cf = new ActiveMQConnectionFactory("tcp://localhost:61616?wireFormat.cacheEnabled=false=false"); ... Spring: ... ... View page • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.17
[CONF] Apache ActiveMQ > Configuring Wire Formats
Title: Message Title Gary Tully edited a page Configuring Wire Formats ... Parameter Name Default Value Description cacheEnabled true Should commonly repeated values be cached so that less marshaling occurs? cacheSize 1024 When cacheEnabled=true then this parameter is used to specify the number of values to be cached. maxInactivityDuration 3 The maximum inactivity duration (before which the socket is considered dead) in milliseconds. On some platforms it can take a long time for a socket to die. Therefore allow the broker to kill connections when they have been inactive for the configured period of time. Used by some transports to enable a keep alive heart beat feature. Inactivity monitoring is disabled when set to a value <= 0. maxInactivityDurationInitalDelay 1 The initial delay before starting inactivity checks. Yes, the word 'Inital' is supposed to be misspelled like that. maxFrameSize MAX_LONG Maximum allowed frame size. Can help help prevent OOM DOS attacks.prefixPacketSize sizePrefixDisabled true Should the size of the packet be prefixed before each packet is marshaled? stackTraceEnabled true Should the stack trace of exception that occur on the broker be sent to the client? tcpNoDelayEnabled true Does not affect the wire format, but provides a hint to the peer that TCP nodelay should be enabled on the communications Socket. tightEncodingEnabled true Should wire size be optimized over CPU usage? ... View page • Like Stop watching space • Manage notifications This message was sent by Atlassian Confluence 5.8.17