Class JmsConnectionProperties

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

connectionTimeout

<static> Number connectionTimeout

reconnectAttemptsMax

<static> Number reconnectAttemptsMax

reconnectDelay

<static> Number reconnectDelay

shutdownDelay

<static> Number shutdownDelay

Constructor Detail

JmsConnectionProperties

JmsConnectionProperties()