You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by bu...@apache.org on 2014/06/17 16:20:25 UTC

svn commit: r912845 - in /websites/production/activemq/content: cache/main.pageCache tcp-transport-reference.html

Author: buildbot
Date: Tue Jun 17 14:20:25 2014
New Revision: 912845

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/tcp-transport-reference.html

Modified: websites/production/activemq/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/activemq/content/tcp-transport-reference.html
==============================================================================
--- websites/production/activemq/content/tcp-transport-reference.html (original)
+++ websites/production/activemq/content/tcp-transport-reference.html Tue Jun 17 14:20:25 2014
@@ -72,41 +72,13 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h3 id="TCPTransportReference-TheTCPTransport">The TCP Transport</h3>
-
-<p>The TCP transport allows clients to connect to a remote ActiveMQ broker using a TCP socket.</p>
-
-<p>These configuration options are used to tune the underlying TCP transport, and can be configured on a JMS client's connection URI string or on a Brokers transport bind URI.</p>
-
-<p>The options below should be prefixed with transport.* when used on the server side.</p>
-
-<h4 id="TCPTransportReference-ConfigurationSyntax">Configuration Syntax</h4>
-
-<p><strong>tcp://hostname:port?key=value</strong></p>
-
-<h5 id="TCPTransportReference-TransportOptions">Transport Options</h5>
-
-<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Option Name </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Default Value </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> minmumWireFormatVersion </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 0 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The minimum version wireformat that is allowed </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> trace </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> false </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Causes all commands that are sent over the transport to be logged </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> daemon </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> false </p></td><td colspan="1" rows
 pan="1" class="confluenceTd"><p> Tells the transport thread to run as a daemon or not. Useful to enable when embedding in a Spring container or a web container to allow the container to shut down properly. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> useLocalHost </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> false </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> When true, it causes the local machines name to resolve to "localhost". </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> socketBufferSize </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 64 * 1024 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Sets the socket buffer size in bytes </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> keepAlive </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> false </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> When true, enables <a shape="rect" 
 class="external-link" href="http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/overview.html" rel="nofollow">TCP KeepAlive</a> on the broker connection. Useful to ensure that inactive consumers don't time out. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> soTimeout </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 0 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> sets the socket timeout in milliseconds </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> connectionTimeout </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 30000 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 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. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> wireFormat </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> default </p></td><td
  colspan="1" rowspan="1" class="confluenceTd"><p> The name of the WireFormat to use </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> wireFormat.* </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> All the properties with this prefix are used to configure the wireFormat. See <a shape="rect" href="configuring-wire-formats.html">Configuring Wire Formats</a> for more information </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> closeAsync </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> true </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The false value causes all sockets to be closed synchronously </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> soLinger </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> MIN_INTEGER </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> When &gt; -1 causes the socket
  soLinger option to be enabled with this value. When == -1, causes soLinger to be disabled. (from 5.6.0)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> maximumConnections </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Integer.MAX_VALUE </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The maximum number of sockets the broker is allowed to create </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> diffServ </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 0 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> client only) The preferred Differentiated Services traffic class to be set on outgoing packets, as described in RFC 2475. Valid integer values: [0,64). Valid string values: EF, AF[1-3][1-4] or CS[0-7]. With JDK 6, only works when the Java Runtime uses the IPv4 stack, which can be done by setting the java.net.preferIPv4Stack system property to be true. Cannot be used at the same time as the 
 typeOfService option. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> typeOfService </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> 0 </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> (client only) The preferred Type of Service value to be set on outgoing packets. Valid integer values: [0,256). With JDK 6, only works when the Java Runtime uses the IPv4 stack, which can be done by setting the java.net.preferIPv4Stack system property to be true. Cannot be used at the same time as the diffServ option </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> tcpNoDelay </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> true </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> When true, the TCP_NODELAY setting is enabled on the socket. </p></td></tr></tbody></table></div>
-
-
-<h5 id="TCPTransportReference-ExampleURI">Example URI</h5>
-
-<p>On Server side (in TransportConnector)</p>
-<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
+<div class="wiki-content maincontent"><h3 id="TCPTransportReference-TheTCPTransport">The TCP Transport</h3><p>The TCP transport allows clients to connect to a remote ActiveMQ broker using a TCP socket.</p><p>These configuration options are used to tune the underlying TCP transport, and can be configured on a JMS client's connection URI string or on a Brokers transport bind URI.</p><p>The options below should be prefixed with transport.* when used on the server side.</p><h4 id="TCPTransportReference-ConfigurationSyntax">Configuration Syntax</h4><p><strong>tcp://hostname:port?key=value</strong></p><h5 id="TCPTransportReference-TransportOptions">Transport Options</h5><div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p>Option Name</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Default Value</p></th><th colspan="1" rowspan="1" class="confluenceTh"><p>Description</p></th></tr><tr><td colspan="1" rowspan="1" cla
 ss="confluenceTd"><p>minmumWireFormatVersion</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>0</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The minimum version wireformat that is allowed</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>trace</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Causes all commands that are sent over the transport to be logged (to view use config of the form: log4j.logger.org.apache.activemq.transport.TransportLogger=DEBUG)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>daemon</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Tells the transport thread to run as a daemon or not. Useful to enable when embedding in a Spring container or a web container to allow the container to shut down properly.</p></td></tr><tr><td colspan="1" rowspan="
 1" class="confluenceTd"><p>useLocalHost</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>When true, it causes the local machines name to resolve to "localhost".</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>socketBufferSize</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>64 * 1024</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sets the socket buffer size in bytes</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>keepAlive</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>false</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>When true, enables <a shape="rect" class="external-link" href="http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/overview.html" rel="nofollow">TCP KeepAlive</a> on the broker connection. Useful to ensure that inactive consumers don't time out.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"
 ><p>soTimeout</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>0</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>sets the socket timeout in milliseconds</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>connectionTimeout</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>30000</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>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.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>wireFormat</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>default</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The name of the WireFormat to use</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>wireFormat.*</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>&#160;</p></td><td colspan="1" rowspan="1" class="confluen
 ceTd"><p>All the properties with this prefix are used to configure the wireFormat. See <a shape="rect" href="configuring-wire-formats.html">Configuring Wire Formats</a> for more information</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>closeAsync</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>The false value causes all sockets to be closed synchronously</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>soLinger</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>MIN_INTEGER</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>When &gt; -1 causes the socket soLinger option to be enabled with this value. When == -1, causes soLinger to be disabled. (from 5.6.0)</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>maximumConnections</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Integer.MAX_VALUE</p></td><td colspan="1" rowsp
 an="1" class="confluenceTd"><p>The maximum number of sockets the broker is allowed to create</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>diffServ</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>0</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>client only) The preferred Differentiated Services traffic class to be set on outgoing packets, as described in RFC 2475. Valid integer values: [0,64). Valid string values: EF, AF[1-3][1-4] or CS[0-7]. With JDK 6, only works when the Java Runtime uses the IPv4 stack, which can be done by setting the java.net.preferIPv4Stack system property to be true. Cannot be used at the same time as the typeOfService option.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>typeOfService</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>0</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>(client only) The preferred Type of Service value to be set on outgoing packets. Val
 id integer values: [0,256). With JDK 6, only works when the Java Runtime uses the IPv4 stack, which can be done by setting the java.net.preferIPv4Stack system property to be true. Cannot be used at the same time as the diffServ option</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>tcpNoDelay</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>When true, the TCP_NODELAY setting is enabled on the socket.</p></td></tr></tbody></table></div><h5 id="TCPTransportReference-ExampleURI">Example URI</h5><p>On Server side (in TransportConnector)</p><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
 <pre>tcp://localhost:61616?transport.trace=false&amp;transport.soTimeout=60000
 </pre>
-</div></div>
-
-<p>On Client side</p>
-<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
+</div></div><p>On Client side</p><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
 <pre>tcp://localhost:61616?trace=false&amp;soTimeout=60000
 </pre>
-</div></div>
-
-<h5 id="TCPTransportReference-DifferentiatedServicesorTypesofService">Differentiated Services or Types of Service</h5>
-
-<p>There is support for setting Differentiated Services - as outlined in <a shape="rect" class="external-link" href="http://tools.ietf.org/html/rfc2475" rel="nofollow">IETF RCF 2475</a>.<br clear="none">
-In order to configure the broker so that all outgoing packets from the broker match the DSCP values set on incoming packets - you will need to apply IP Tables scripts - found <a shape="rect" href="tcp-transport-reference.data/brokerConfig.tar.gz?version=1&amp;modificationDate=1273219000000&amp;api=v2">here</a>.</p></div>
+</div></div><h5 id="TCPTransportReference-DifferentiatedServicesorTypesofService">Differentiated Services or Types of Service</h5><p>There is support for setting Differentiated Services - as outlined in <a shape="rect" class="external-link" href="http://tools.ietf.org/html/rfc2475" rel="nofollow">IETF RCF 2475</a>.<br clear="none"> In order to configure the broker so that all outgoing packets from the broker match the DSCP values set on incoming packets - you will need to apply IP Tables scripts - found <a shape="rect" href="tcp-transport-reference.data/brokerConfig.tar.gz?version=1&amp;modificationDate=1273219000000&amp;api=v2">here</a>.</p></div>
         </td>
         <td valign="top">
           <div class="navigation">