| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The class defines the JMS Connection properties.
Example Usage - Configure maximum reconnect attempts to 5
var connectionProperties = new JmsConnectionProperties();
connectionProperties.reconnectAttemptsMax = 5;
// connectionProperties should be provided while creating JmsConnectionFactory object
var connectionFactory = new JmsConnectionFactory(url, connectionProperties);
| Field Summary | |
<static> Number
|
connectionTimeout
Time to wait on initial connection before closing in milliseconds. |
<static> Number
|
reconnectAttemptsMax
Maximum number of reconnect attempts. |
<static> Number
|
reconnectDelay
Time to wait between reconnect attempts in milliseconds. |
<static> Number
|
shutdownDelay
Time to wait for server to close socket after sending DISCONNECT before closing in milliseconds. |
| Constructor Summary | |
JmsConnectionProperties()
The class defines the JMS Connection properties. |
|
| Field Detail |
<static> Number connectionTimeout
<static> Number reconnectAttemptsMax
<static> Number reconnectDelay
<static> Number shutdownDelay
| Constructor Detail |
JmsConnectionProperties()
Example Usage - Configure maximum reconnect attempts to 5
var connectionProperties = new JmsConnectionProperties();
connectionProperties.reconnectAttemptsMax = 5;
// connectionProperties should be provided while creating JmsConnectionFactory object
var connectionFactory = new JmsConnectionFactory(url, connectionProperties);