The configuration of the Topic Manager Swiftlet is defined within the element
<swiftlet name="sys$topicmanager" .../>
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 |
|---|---|---|---|
| flowcontrol-enabled | java.lang.Boolean | No | Enable/Disable Publish/Subscribe Flow Control |
| direct-subscriber-selection | java.lang.Boolean | No | Select Subscribers directly and do NOT interpret the Publisher's Topicname as SQL-Like Predicate |
Values
| Attribute | Values |
|---|---|
| flowcontrol-enabled | Default: true |
| direct-subscriber-selection | Default: true |
Element List "topics", Parent Element: "swiftlet"
Topic Definitions. This element list contains zero or more "topic" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Topic |
Element List "slow-subscriber-conditions", Parent Element: "swiftlet"
Slow Subscriber Conditions. This element list contains zero or more "topic" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Root Topic |
| max-messages | java.lang.Long | Yes | Maximum Messages in Subscriber Queue |
| persistence-mode | java.lang.String | No | Persistence Mode |
| subscription-type | java.lang.String | No | Subscription Type |
| disconnect-non-durable-subscriber | java.lang.Boolean | No | Disconnect Non-Durable Subscriber |
| disconnect-delete-durable-subscriber | java.lang.Boolean | No | Disconnect and Delete Durable Subscriber |
Values
| Attribute | Values |
|---|---|
| max-messages | Min: 1 Default: 500 |
| persistence-mode | Choice: all non_persistent persistent Default: non_persistent |
| subscription-type | Choice: all local remote Default: all |
| disconnect-non-durable-subscriber | Default: false |
| disconnect-delete-durable-subscriber | Default: false |
Element List "static-remote-router-subscriptions", Parent Element: "swiftlet"
Static Remote Router Subscriptions. This element list contains zero or more "static-remote-router-subscription" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Static Remote Router Subscription |
Element List "static-topic-subscriptions", Parent Element: "static-remote-router-subscription"
Static Topic Subscriptions. This element list contains zero or more "static-topic-subscription" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Static Topic Subscription |
| keep-on-unsubscribe | java.lang.Boolean | No | Keep this Subscription even when the remote Router unsubscribes it |
Values
| Attribute | Values |
|---|---|
| keep-on-unsubscribe | Default: false |