The TCP Transport
The TCP transport allows clients to connect to a remote ActiveMQ broker using a TCP socket.
Configuration Syntax
tcp://hostname:port?transportOptions
Transport Options
| Option Name |
Default Value |
Description |
| minmumWireFormatVersion |
0 |
The minimum version wireformat that is allowed |
| trace |
false |
Causes all commands that are sent over the transport to be logged |
| useLocalHost |
true |
When true, it causes the local machines name to resolve to "localhost". |
| socketBufferSize |
64 * 1024 |
Sets the socket buffer size in bytes |
| soTimeout |
0 |
sets the socket timeout in milliseconds |
| connectionTimeout |
30000 |
A non-zero value specifies the connection timeout in milliseconds. A zero value means wait forever for the connection to be established. Negative values are ignored. |
| wireFormat |
default |
The name of the WireFormat to use |
| wireFormat.* |
|
All the properties with this prefix are used to configure the wireFormat. See Configuring Wire Formats for more information |
Example URI