The ActiveMQ project site, 2004–2007 · independent archive
Independent historical archive. This site preserves the ActiveMQ project pages that were published at activemq.org in 2004–2007. It is not the project’s website and is not affiliated with or endorsed by the Apache Software Foundation. ActiveMQ and Apache are trademarks of the ASF. For current downloads and documentation go to activemq.apache.org.

Archive › Documentation › TCP Transport Reference

Archived page

TCP Transport Reference

Archived from http://www.activemq.org/site/tcp-transport-reference.html, captured 2006-07-14 · view the capture · Added by Hiram Chirino, last edited by Hiram Chirino on Mar 21, 2006

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 10000 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
tcp://localhost:61616?trace=false

More from the archive