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 2015/07/15 16:24:52 UTC

svn commit: r958431 - in /websites/production/activemq/content: cache/cms.pageCache cache/main.pageCache cache/nms.pageCache tcp-transport-reference.html unix-shell-script.html

Author: buildbot
Date: Wed Jul 15 14:24:51 2015
New Revision: 958431

Log:
Production update by buildbot for activemq

Modified:
    websites/production/activemq/content/cache/cms.pageCache
    websites/production/activemq/content/cache/main.pageCache
    websites/production/activemq/content/cache/nms.pageCache
    websites/production/activemq/content/tcp-transport-reference.html
    websites/production/activemq/content/unix-shell-script.html

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

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

Modified: websites/production/activemq/content/cache/nms.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 Wed Jul 15 14:24:51 2015
@@ -72,13 +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" 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. Ensures connections don't time out on TCP level. Not used by InactivityMonitor!</p></td></tr><tr><td colspan="1" rowspan="
 1" class="confluenceTd">useKeepAlive</td><td colspan="1" rowspan="1" class="confluenceTd">true</td><td colspan="1" rowspan="1" class="confluenceTd">Whether or not the <a shape="rect" href="activemq-inactivitymonitor.html">InactivityMonitor</a> should send KeepAliveInfo messages on idle connections. Enabled by default.</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">soWriteTimeout</td><td colspan="1" rowspan="1" class="confluenceTd">0</td><td colspan="1" rowspan="1" class="confluenceTd">Sets the socket write timeout in milliseconds. If a socketWrite() does not succeed within the specified timeout, the socket is closed.</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" ro
 wspan="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>cli
 ent 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="confluenc
 eTd"><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. Ensures connections don't time out on TCP level. Not used by InactivityMonitor!</p></td></tr><tr><td colspan="1" rowspan="
 1" class="confluenceTd"><p>useKeepAlive</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>true</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Whether or not the <a shape="rect" href="activemq-inactivitymonitor.html">InactivityMonitor</a> should send KeepAliveInfo messages on idle connections. Enabled by default.</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>soWriteTimeout</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>0</p></td><td colspan="1" rowspan="1" class="confluenceTd"><p>Sets the socket write timeout in milliseconds. If a socketWrite() does not succeed within the specified timeout, the socket is closed.</p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p>connectio
 nTimeout</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><t
 d 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">
 <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" data-linked-resource-id="20873268" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="brokerConfig.tar.gz" data-linked-resource-content-type="application/x-gzip" data-linked-resource-container-id="35993" data-linked-resource-container-version="37">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" data-linked-resource-id="20873268" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="brokerConfig.tar.gz" data-linked-resource-content-type="application/x-gzip" data-linked-resource-container-id="35993" data-linked-resource-container-version="38">here</a>.</p></div>
         </td>
         <td valign="top">
           <div class="navigation">

Modified: websites/production/activemq/content/unix-shell-script.html
==============================================================================
--- websites/production/activemq/content/unix-shell-script.html (original)
+++ websites/production/activemq/content/unix-shell-script.html Wed Jul 15 14:24:51 2015
@@ -82,12 +82,12 @@
   <tbody>
         <tr>
         <td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="UnixShellScript-/*&lt;![CDATA[*/div.rbtoc1436966448157{padding:0px;}div.rbtoc1436966448157ul{list-style:disc;margin-left:0px;}div.rbtoc1436966448157li{margin-left:0px;padding-left:0px;}/*]]&gt;*/#UnixShellScript-Functionaloverview#UnixShellScript-Functionalover"><style type="text/css">/*<![CDATA[*/
-div.rbtoc1436966448157 {padding: 0px;}
-div.rbtoc1436966448157 ul {list-style: disc;margin-left: 0px;}
-div.rbtoc1436966448157 li {margin-left: 0px;padding-left: 0px;}
+<div class="wiki-content maincontent"><h2 id="UnixShellScript-/*&lt;![CDATA[*/div.rbtoc1436970053358{padding:0px;}div.rbtoc1436970053358ul{list-style:disc;margin-left:0px;}div.rbtoc1436970053358li{margin-left:0px;padding-left:0px;}/*]]&gt;*/#UnixShellScript-Functionaloverview#UnixShellScript-Functionalover"><style type="text/css">/*<![CDATA[*/
+div.rbtoc1436970053358 {padding: 0px;}
+div.rbtoc1436970053358 ul {list-style: disc;margin-left: 0px;}
+div.rbtoc1436970053358 li {margin-left: 0px;padding-left: 0px;}
 
-/*]]>*/</style></h2><div class="toc-macro rbtoc1436966448157">
+/*]]>*/</style></h2><div class="toc-macro rbtoc1436970053358">
 <ul class="toc-indentation"><li><a shape="rect" href="#UnixShellScript-"></a></li></ul>
 <ul><li><a shape="rect" href="#UnixShellScript-Functionaloverview">Functional overview</a></li><li><a shape="rect" href="#UnixShellScript-Configuringtheinit-script">Configuring the init-script</a>
 <ul class="toc-indentation"><li><a shape="rect" href="#UnixShellScript-Version5.11.0andhigher">Version 5.11.0 and higher</a>