High Quality JMS Messaging.

Installation

You must stop the router before you install this Kernel Swiftlet. Then copy the content of the "deploy" subdirectory of this Kernel Swiftlet distribution into the directory "kernel/sys$routing".

Configuration

The configuration of the Routing Swiftlet (Unlimited Connections) is defined within the element

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

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
reject-disconnect-delay java.lang.Long No Time (ms) after which a rejected Connection is closed
stage-valid-timeout java.lang.Long No Time (ms) after which a Protocol Stage in a wait State becomes invalid
roundrobin-enabled java.lang.Boolean No Enables/Disables Round Robin Scheduling
inbound-flow-control-enabled java.lang.Boolean No Enables/Disables Inbound Flow Control
crfactory-class java.lang.String No Challenge/Response Factory Class
route-announce-hop-limit java.lang.Integer No Maximum Hop Count for Route Announce (-1 = unlimited)

Values

Attribute Values
reject-disconnect-delay Min: 1000
Default: 5000
stage-valid-timeout Min: 1000
Default: 15000
roundrobin-enabled Default: false
inbound-flow-control-enabled Default: false
crfactory-class Default: com.swiftmq.auth.ChallengeResponseFactoryImpl
route-announce-hop-limit Default: 3

Element List "static-routes", Parent Element: "swiftlet"

Static Route Definitions. This element list contains zero or more "static-route" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Static Route

Element List "filters", Parent Element: "swiftlet"

Route Filter Definitions. This element list contains zero or more "filter" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Route Filter
type java.lang.String Yes Filter Type

Values

Attribute Values
type Choice: include_by_hop include_by_destination exclude_by_hop exclude_by_destination

Element List "routers", Parent Element: "filter"

Routers to filter. This element list contains zero or more "router" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Router to filter

Element List "listeners", Parent Element: "swiftlet"

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 Yes Use Tcp No Delay
socketfactory-class java.lang.String No Listener Socketfactory Class
password java.lang.String No Password
keepalive-interval java.lang.Long No Interval for sending Keep Alive Messages
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
inbound-transaction-size java.lang.Integer No Number of Messages per Transaction
inbound-window-size java.lang.Integer No Max. Number of open Transactions

Values

Attribute Values
bindaddress
port
use-tcp-no-delay Default: true
socketfactory-class Default: com.swiftmq.net.PlainSocketFactory
password
keepalive-interval Default: 60000
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
inbound-transaction-size Default: 20
inbound-window-size Default: 10

Element List "host-access-list", Parent Element: "listener"

Host Access List. This element list contains zero or more "host-access-entry" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Host Access Entry

Element List "connectors", Parent Element: "swiftlet"

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
enabled java.lang.Boolean No Enables/Disables this Connector
hostname java.lang.String Yes Remote Hostname
port java.lang.Integer Yes Remote Port
use-tcp-no-delay java.lang.Boolean Yes Use Tcp No Delay
socketfactory-class java.lang.String No Connector Socketfactory Class
password java.lang.String No Password
retry-time java.lang.Long No Retry Time
inbound-transaction-size java.lang.Integer No Number of Messages per Transaction
inbound-window-size java.lang.Integer No Max. Number of open Transactions
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
enabled Default: true
hostname
port
use-tcp-no-delay Default: true
socketfactory-class Default: com.swiftmq.net.PlainSocketFactory
password
retry-time Min: 1000
Default: 60000
inbound-transaction-size Default: 20
inbound-window-size Default: 10
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