The wire format options configure the OpenWire message layer and can be specified as transport options with any of the preceding transports.
Table A.4 shows the wire format options supported by the OpenWire protocol.
Table A.4. Transport Options Supported by OpenWire Protocol
Option | Default | Description | Negotiation policy |
---|---|---|---|
wireformat
.stackTraceEnabled | true |
Should the stack trace of an exception occuring on the broker be sent to the client? |
Set to |
wireformat
.tcpNoDelayEnabled | false |
Provides a hint to the peer that TCP |
Set to |
wireformat
.cacheEnabled | true |
Should commonly repeated values be cached so that less marshalling occurs? |
Set to |
wireformat
.cacheSize | 1024 |
If |
Use the smaller of the two values. |
wireformat
.tightEncodingEnabled | true |
Should wire size be optimized over CPU usage? |
Set to |
wireformat
.prefixPacketSize | true |
Should the size of the packet be prefixed before each packet is marshalled? |
Set to |
wireformat
.maxInactivityDuration | 30000 |
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 appear
to die, so we allow the broker to kill connections if they are inactive for a
period of time. Set to a value |
Use the smaller of the two values. |
wireformat
.maxInactivityDurationInitalDelay | 10000 | The initial delay in starting the maximum inactivity checks. Note: The mis-spelling, Inital , is a
typographic error in the source code. |