High Quality JMS Messaging.

Configuration

The configuration of the High Availability Controller Swiftlet is defined within the element

      <swiftlet name="sys$hacontroller" .../>

of the router's configuration file. One can use the SwiftMQ Exlorer or CLI for configuration as well. They both save into that file.

Attributes of Element "swiftlet"

Definition

Attribute Type Mandatory Description
preferred-active java.lang.Boolean No States whether this router is the preferred Active Instance
negotiation-timeout java.lang.Long No Time after which a Negotation must be initiated

Values

Attribute Values
preferred-active Default: false
negotiation-timeout Min: 1000
Default: 120000

Element "spool", Parent Element: "swiftlet"

Spool Settings.

Definition

Attribute Type Mandatory Description
directory java.lang.String No Spool Directory
max-cache-size java.lang.Integer No Specifies the size in KB to held in memory.

Values

Attribute Values
directory Default: ./
max-cache-size Min: 1024
Default: 5120

Element List "replication-tunnels", Parent Element: "swiftlet"

Replication Tunnels. This element list contains zero or more "replication-tunnel" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Replication Tunnel
tunnel-address java.lang.Integer No Tunnel Address
versions java.lang.String No Supported Tunnel Protocol Versions

Values

Attribute Values
tunnel-address Min: 0
versions

Element List "threadpool-freezes", Parent Element: "swiftlet"

Threadpools to freeze during Init. This element list contains zero or more "threadpool-freeze" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Threadpool Freeze
poolname java.lang.String No Name of the Threadpool

Values

Attribute Values
poolname

Element "configuration-controller", Parent Element: "swiftlet"

Tracks and controls configuration replication.

Element List "property-substitutions", Parent Element: "configuration-controller"

Property Substitutions. This element list contains zero or more "property-substitution" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Property Substitution
substitute-with java.lang.String No Substitute the Property Value with this Value

Values

Attribute Values
substitute-with

Element List "replication-excludes", Parent Element: "configuration-controller"

Replication Excludes. This element list contains zero or more "replication-exclude" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Replication Exclude

Element "replication-channel", Parent Element: "swiftlet"

Replication Channel Listeners and Connectors.

Definition

Attribute Type Mandatory Description
heartbeat-interval java.lang.Long No Interval for sending Heart Beat Messages
heartbeat-missing-threshold java.lang.Integer No Closes Replication Connections after missing this number of Heart Beat Messages
max-packet-size java.lang.Integer No Maximum Packet Size (KB)

Values

Attribute Values
heartbeat-interval Min: 100
Default: 2000
heartbeat-missing-threshold Min: 1
Default: 10
max-packet-size Min: 1
Default: 128

Element List "listeners", Parent Element: "replication-channel"

Listener Definitions. This element list contains zero or more "listener" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Listener
bindaddress java.lang.String No Listener Bind IP Address
port java.lang.Integer Yes Listener Port
use-tcp-no-delay java.lang.Boolean No Use Tcp No Delay
router-input-buffer-size java.lang.Integer No Router Network Input Buffer Size
router-input-extend-size java.lang.Integer No Router Network Input Extend Size
router-output-buffer-size java.lang.Integer No Router Network Output Buffer Size
router-output-extend-size java.lang.Integer No Router Network Output Extend Size

Values

Attribute Values
bindaddress
port
use-tcp-no-delay Default: true
router-input-buffer-size Min: 65536
Default: 131072
router-input-extend-size Min: 65536
Default: 65536
router-output-buffer-size Min: 65536
Default: 131072
router-output-extend-size Min: 65536
Default: 65536

Element List "connectors", Parent Element: "replication-channel"

Connector Definitions. This element list contains zero or more "connector" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Connector
hostname java.lang.String Yes Remote Hostname
port java.lang.Integer Yes Remote Port
use-tcp-no-delay java.lang.Boolean No Use Tcp No Delay
retry-time java.lang.Long No Retry Time
router-input-buffer-size java.lang.Integer No Router Network Input Buffer Size
router-input-extend-size java.lang.Integer No Router Network Input Extend Size
router-output-buffer-size java.lang.Integer No Router Network Output Buffer Size
router-output-extend-size java.lang.Integer No Router Network Output Extend Size

Values

Attribute Values
hostname
port
use-tcp-no-delay Default: true
retry-time Min: 100
Default: 1000
router-input-buffer-size Min: 65536
Default: 131072
router-input-extend-size Min: 65536
Default: 65536
router-output-buffer-size Min: 65536
Default: 131072
router-output-extend-size Min: 65536
Default: 65536