Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 87DB510B1D for ; Wed, 4 Mar 2015 11:22:31 +0000 (UTC) Received: (qmail 47723 invoked by uid 500); 4 Mar 2015 11:21:33 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 47673 invoked by uid 500); 4 Mar 2015 11:21:33 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 47661 invoked by uid 99); 4 Mar 2015 11:21:33 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2015 11:21:32 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id DB3C2AC00A8 for ; Wed, 4 Mar 2015 11:21:32 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r942254 - in /websites/production/activemq/content: cache/main.pageCache tcp-transport-reference.html Date: Wed, 04 Mar 2015 11:21:32 -0000 To: commits@activemq.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150304112132.DB3C2AC00A8@hades.apache.org> Author: buildbot Date: Wed Mar 4 11:21:32 2015 New Revision: 942254 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 Wed Mar 4 11:21:32 2015 @@ -72,7 +72,7 @@ -

The TCP Transport

The TCP transport allows clients to connect to a remote ActiveMQ broker using a TCP socket.

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.

The options below should be prefixed with transport.* when used on the server side.

Configuration Syntax

tcp://hostname:port?key=value

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 (to view use config of the form: log4j.logger.org.apache.activemq.transport.TransportLogger=DEBUG)

daemon

false

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.

useLocalHost

false

When true, it causes the local machines name to resolve to "localhost".

socketBufferSize

64 * 1024

Sets the socket buffer size in bytes

keepAlive

false

When true, enables TCP KeepAlive on the broker connection. Useful to ensure that inactive consumers don't time out.

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

closeAsync

true

The false value causes all sockets to be closed synchronously

soLinger

MIN_INTEGER

When > -1 causes the socket soLinger option to be enabled with this value. When == -1, causes soLinger to be disabled. (from 5.6.0)

maximumConnections

Integer.MAX_VALUE

The maximum number of sockets the broker is allowed to create

diffServ

0

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.

typeOfService

0

(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

tcpNoDelay

true

When true, the TCP_NODELAY setting is enabled on the socket.

Example URI

On Server side (in TransportConnector)

+

The TCP Transport

The TCP transport allows clients to connect to a remote ActiveMQ broker using a TCP socket.

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.

The options below should be prefixed with transport.* when used on the server side.

Configuration Syntax

tcp://hostname:port?key=value

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 (to view use config of the form: log4j.logger.org.apache.activemq.transport.TransportLogger=DEBUG)

daemon

false

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.

useLocalHost

false

When true, it causes the local machines name to resolve to "localhost".

socketBufferSize

64 * 1024

Sets the socket buffer size in bytes

keepAlive

false

When true, enables TCP KeepAlive on the broker connection. Ensures connections don't time out on TCP level. Not used by InactivityMonitor!

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

closeAsync

true

The false value causes all sockets to be closed synchronously

soLinger

MIN_INTEGER

When > -1 causes the socket soLinger option to be enabled with this value. When == -1, causes soLinger to be disabled. (from 5.6.0)

maximumConnections

Integer.MAX_VALUE

The maximum number of sockets the broker is allowed to create

diffServ

0

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.

typeOfService

0

(client only) The preferred Type of Service value to be set o n 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

tcpNoDelay

true

When true, the TCP_NODELAY setting is enabled on the socket.

Example URI

On Server side (in TransportConnector)

tcp://localhost:61616?transport.trace=false&transport.soTimeout=60000
 

On Client side