High Quality JMS Messaging.

Installation

The installation takes place via 'hot deployment'. See the documentation of the Deploy Swiftlet for further information.

Configuration

The configuration of the Replicator Extension Swiftlet is defined within the element

      <swiftlet name="xt$replicator" .../>

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

Element List "sources", Parent Element: "swiftlet"

Replication Source Definitions. This element list contains zero or more "source" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Replication Source
directory java.lang.String Yes Directory
recursive java.lang.Boolean No Recursive
check-interval java.lang.Long Yes Check Interval (ms)
chunk-size java.lang.Integer No Chunk Size (Bytes)
request-queue java.lang.String Yes Request Queue
control-topic java.lang.String Yes Control Topic
update-topic java.lang.String Yes Update Topic

Values

Attribute Values
directory
recursive Default: true
check-interval Min: 1000
Default: 600000
chunk-size Min: 1024
Default: 2048
request-queue
control-topic
update-topic

Element List "sinks", Parent Element: "swiftlet"

Replication Sink Definitions. This element list contains zero or more "sink" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Replication Sink
init-timeout java.lang.Long No Timeout of the Init Request
replicate-deletions java.lang.Boolean No Replicate Deletions
controlfile java.lang.String Yes Control File
directory java.lang.String Yes Directory
request-queue java.lang.String Yes Request Queue
control-topic java.lang.String Yes Control Topic
update-topic java.lang.String Yes Update Topic
crlf-mode java.lang.String No CRLF Mode

Values

Attribute Values
init-timeout Default: 60000
replicate-deletions Default: true
controlfile
directory
request-queue
control-topic
update-topic
crlf-mode Choice: as_is lf cr_lf
Default: as_is

Element List "file-extension-list", Parent Element: "sink"

CRLF File Extension List for each Sink. This element list contains zero or more "file-extension" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this CRLF File Extension

Element List "event-sinks", Parent Element: "sink"

Event Sinks. This element list contains zero or more "event-sink" elements with this template definition:

Definition

Attribute Type Mandatory Description
name java.lang.String Yes Name of this Event Sink
destination-name java.lang.String Yes Name of the Queue/Topic
destination-type java.lang.String Yes Destination Type
delivery-mode java.lang.String Yes Delivery Mode
event-directory-created java.lang.Boolean No Event Directory Created
event-directory-deleted java.lang.Boolean No Event Directory Deleted
event-file-created java.lang.Boolean No Event File Created
event-file-modified java.lang.Boolean No Event File Modified
event-file-deleted java.lang.Boolean No Event File Deleted

Values

Attribute Values
destination-name
destination-type Choice: queue topic
Default: queue
delivery-mode Choice: non_persistent persistent
Default: non_persistent
event-directory-created Default: true
event-directory-deleted Default: true
event-file-created Default: true
event-file-modified Default: true
event-file-deleted Default: true

CLI Commands During Deployment

This Swiftlet performs the following CLI commands during deployment:

			cc /sys$threadpool/pools
			new replicator
			cc /sys$threadpool/pools/replicator/threads
			new extension.xt$replicator.%
		

CLI Commands During Undeployment

This Swiftlet performs the following CLI commands during undeployment:

			cc /sys$threadpool/pools
			delete replicator