System Properties
Property | Default | Description |
---|---|---|
| latest version | Sets the SMQP protocol version to connect via JMS and JNDI. Useful to connect with a newer client, e.g. CLI, to an older SwiftMQ Router. Since 7.3.2 [CLIENT PROPERTY]. See Versioning. |
| latest version | Sets the management protocol version internally used from CLI / CLI Admin API. Since 7.5.0 [CLIENT PROPERTY]. |
| 8192 | Sets the buffer size in bytes for ObjectMessage.setObject(object) serialization. It should be increased for large objects. Property has to be set on the JMS *sender* client side. Since 7.3.0. |
| false | Sends nontransacted persistent messages asynchronously. JMS Spec requires to send those messages synchronously. Setting this property to true decreases reliability a bit but may double persistent message throughput. Property has to be set on the JMS *sender* client side. Since 8.0.0. |
| 5 | Keepalive missing threshold on a JMS connection. The connection is closed after missing these number of keepalive messages. Since 9.2.6. Respected at the SwiftMQ Router since 9.4.0 |
| false | Enables debug output during connect/reconnect [CLIENT PROPERTY]. |
| false | Redirects System.out debug output to a log file [CLIENT PROPERTY]. Since 9.2.0. |
| working directory | Log file directory [CLIENT PROPERTY]. Since 9.2.0. |
| 1024 | Maximum size of a log file [CLIENT PROPERTY]. Since 9.2.0. |
| 10 | Number of log file generations to keep [CLIENT PROPERTY]. Since 9.2.0. |
| 10 | Sets the maximum internal retry count. Internal retry is done during the protocol handshake and recreate phase [CLIENT PROPERTY]. |
| 0 | Maximum value used for socket.setReceiveBufferSize. 0 means no limit (default). [CLIENT PROPERTY]. |
| false | Specifies if the socket reader thread is a daemon thread [CLIENT PROPERTY]. |
| true | Sets socket's send/receive buffer size to the network input/output buffer size [CLIENT PROPERTY]. |
| false | Sets socket.setReuseAddress(value) [CLIENT PROPERTY]. |
| 0 | Sets socket.setSoTimeout(value) if the value is greater 0. Value is in milliseconds where 0 means no timeout (default). Since 8.0.0 [CLIENT PROPERTY]. |
| 5000 | Uses a timeout for socket.connect(). Used in PlainSocketFactory and affects client connections, routing and HA connectors. Since 9.3.0. |
| 60000 | Specifies the timeout in milliseconds for SMQP requests [CLIENT PROPERTY]. |
| true | Specifies whether the TCP_NO_DELAY option should be used [CLIENT PROPERTY]. |
| true | Specifies whether the SwiftMQ Router registers a shutdown hook. This has to be false if the SwiftMQ Router is embedded in some app servers. See the resp. How To's. |
| false | See Store Swiftlet |
| none | See Http Tunneling |
| false | See Http Tunneling |
| 0 (disabled) | Specifies the interval in ms in which the routerconfig.xml is checked for changes. |
| * | Specifies a comma separated list of package names that are trusted to be loaded from getObject. '*' means all packages are trusted. Since 10.0.0. |
| false | See Authentication Swiftlet. |
| 30 | Sets the JVM’s internal DNS cache expiration as a Security Manager property. Value is in seconds. Since 12.3.10. |
Absolute and relative Path Declarations
It is possible to mix absolute and relative path declarations. Relative paths are default. To declare a path as absolute, add the prefix "absolute:" to the path.
Example:
<swiftlet name="sys$log"
logfile-info="absolute:/var/log/swiftmq/info.log"
logfile-warning="absolute:/var/log/swiftmq/warning.log"
logfile-error="absolute:/var/log/swiftmq/error.log" />