The configuration of the AMQP Swiftlet is defined within the element
<swiftlet name="sys$amqp" .../>
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 |
|---|---|---|---|
| allow-same-containerid | java.lang.Boolean | No | If set to false, it is handled like a JMS Client Id |
| collect-interval | java.lang.Long | No | Collect Interval Messages/Sec |
Values
| Attribute | Values |
|---|---|
| allow-same-containerid | Default: true |
| collect-interval | Default: 1000 |
Element "declarations", Parent Element: "swiftlet"
Declarations Section.
Element "transformer", Parent Element: "declarations"
Message Transformer.
Element List "default-inbound-transformers", Parent Element: "transformer"
Default Inbound Transformers. This element list contains zero or more "default-inbound-transformer" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Default Inbound Transformer |
| class-name | java.lang.String | Yes | Class Name |
Values
| Attribute | Values |
|---|---|
| class-name | Default: com.swiftmq.impl.amqp.amqp.v01_00_00.transformer.JMSMappingInboundTransformer |
Element List "properties", Parent Element: "default-inbound-transformer"
Properties. This element list contains zero or more "property" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Property |
| value | java.lang.String | Yes | Property Value |
Values
| Attribute | Values |
|---|---|
| value |
Element List "default-outbound-transformers", Parent Element: "transformer"
Default Outbound Transformers. This element list contains zero or more "default-outbound-transformer" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Default Outbound Transformer |
| class-name | java.lang.String | Yes | Class Name |
Values
| Attribute | Values |
|---|---|
| class-name | Default: com.swiftmq.impl.amqp.amqp.v01_00_00.transformer.JMSMappingOutboundTransformer |
Element List "properties", Parent Element: "default-outbound-transformer"
Properties. This element list contains zero or more "property" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Property |
| value | java.lang.String | Yes | Property Value |
Values
| Attribute | Values |
|---|---|
| value |
Element List "destination-transformers", Parent Element: "transformer"
Transformer Declaration per Queue/Topic. This element list contains zero or more "destination-transformer" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Destination Transformer |
Element List "inbound-transformers", Parent Element: "destination-transformer"
Inbound Transformers. This element list contains zero or more "inbound-transformer" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Inbound Transformer |
| class-name | java.lang.String | Yes | Class Name |
Values
| Attribute | Values |
|---|---|
| class-name | Default: com.swiftmq.impl.amqp.amqp.v01_00_00.transformer.JMSMappingInboundTransformer |
Element List "properties", Parent Element: "inbound-transformer"
Properties. This element list contains zero or more "property" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Property |
| value | java.lang.String | Yes | Property Value |
Values
| Attribute | Values |
|---|---|
| value |
Element List "outbound-transformers", Parent Element: "destination-transformer"
Outbound Transformers. This element list contains zero or more "outbound-transformer" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Outbound Transformer |
| class-name | java.lang.String | Yes | Class Name |
Values
| Attribute | Values |
|---|---|
| class-name | Default: com.swiftmq.impl.amqp.amqp.v01_00_00.transformer.JMSMappingOutboundTransformer |
Element List "properties", Parent Element: "outbound-transformer"
Properties. This element list contains zero or more "property" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Property |
| value | java.lang.String | Yes | Property Value |
Values
| Attribute | Values |
|---|---|
| value |
Element List "connection-templates", Parent Element: "declarations"
Templates for Connections. This element list contains zero or more "connection-template" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Connection Template |
| socketfactory-class | java.lang.String | No | Socketfactory Class |
| use-tcp-no-delay | java.lang.Boolean | No | Use Tcp No Delay |
| idle-timeout | java.lang.Long | No | Inactivity timeout (ms) after which a Connection is disconnected |
| max-frame-size | java.lang.Long | No | Maximum Frame Size |
| max-message-size | java.lang.Long | No | Maximum Message Size |
| max-channel-number | java.lang.Integer | No | Maximum Channel Number |
| target-link-credit | java.lang.Long | No | Link Credit for Targets |
| max-handle-number | java.lang.Long | No | Maximum Handle Number |
| incoming-window-size | java.lang.Integer | No | Maximum Number of incoming unsettled Transfer Frames |
| outgoing-window-size | java.lang.Integer | No | Maximum Number of outgoing unsettled Transfer Frames |
| reject-disconnect-delay | java.lang.Long | No | Time (ms) after which a rejected Connection is closed |
| 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 |
|---|---|
| socketfactory-class | Default: com.swiftmq.net.PlainSocketFactory |
| use-tcp-no-delay | Default: true |
| idle-timeout | Default: 90000 |
| max-frame-size | Min: 0 Max: 2147483647 Default: 2147483647 |
| max-message-size | Min: 0 Max: 2147483647 Default: 10485760 |
| max-channel-number | Min: 0 Max: 65535 Default: 65535 |
| target-link-credit | Min: 1 Max: 2147483647 Default: 20 |
| max-handle-number | Min: 0 Max: 2147483647 Default: 2147483647 |
| incoming-window-size | Min: 1 Max: 2147483647 Default: 100 |
| outgoing-window-size | Min: 1 Max: 2147483647 Default: 100 |
| reject-disconnect-delay | Min: 1000 Default: 5000 |
| 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 "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 |
| max-connections | java.lang.Integer | Yes | Maximum Connections for Listener |
| sasl-enabled | java.lang.Boolean | No | Enabled/Disabled SASL Authentication |
| connection-template | java.lang.String | Yes | Connection Template to use |
Values
| Attribute | Values |
|---|---|
| bindaddress | |
| port | Default: 5672 |
| max-connections | Default: -1 |
| sasl-enabled | Default: true |
| connection-template | Default: default |
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 |