The configuration of the JMS Application Container Swiftlet is defined within the element
<swiftlet name="sys$jac" .../>
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 "static-containers", Parent Element: "swiftlet"
Static Containers. This element list contains zero or more "static-container" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Static Container |
| startup-delay | java.lang.Long | No | Delay (ms) to wait before start |
| enabled | java.lang.Boolean | No | Enables/Disables this Container |
| main-class | java.lang.String | Yes | The class name with the 'main' method |
| main-class-arguments | java.lang.String | No | The Arguments of the Main Class (blank is Delimiter) |
| main-return-is-stop | java.lang.Boolean | No | Is the return from the 'main' method is equal to stop? |
| shutdown-method-name | java.lang.String | No | Optional static Shutdown Method Name |
Values
| Attribute | Values |
|---|---|
| startup-delay | Default: 0 |
| enabled | Default: false |
| main-class | |
| main-class-arguments | |
| main-return-is-stop | Default: false |
| shutdown-method-name |
Element List "system-properties", Parent Element: "static-container"
System Properties. This element list contains zero or more "system-property" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this System Property |
| value | java.lang.String | Yes | Property Value |
Values
| Attribute | Values |
|---|---|
| value |
Element List "classpath", Parent Element: "static-container"
Classpath. This element list contains zero or more "path-entry" elements with this template definition:
Definition
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| name | java.lang.String | Yes | Name of this Path Entry |
| value | java.lang.String | Yes | Path Entry |
Values
| Attribute | Values |
|---|---|
| value |