connfact handling

## Connection Factory Object Properties >
Connection Handling

Use the Connection Handling tab to reconfigure the connections that will be created by this factory.

Message Server Address List Specifies a list of message server addresses (one or more), separated by commas, each corresponding to a different broker instance to which a client runtime can connect. Each address in the list specifies the host name, host port, and connection service for the connection.
For more information about Message Server Address Syntax, click here

Address List Order Specifies whether connection attempts are in the order of addresses in the message server address list (PRIORITY) or in a random order (RANDOM). If you have many clients attmpting a connection using the same connection factory, you would use a random order to prevent them from all being connected to the same address.

Number of Address List Iterations Specifies the number of times the client runtime will itereate through the the message server address list in an effort to establish (or re-establish a connection). A value of -1 indicates that the number of reconnect attempts is unlimited.

Enable Auto-reconnect to Message Server A value of true specifies that the client runtime will attempt to reconnect to a message server (or the list of addresses in a message server list) when a connection is lost.

Number of Reconnect Attempts per Address Specifies the number of reconnect attempts for each address in the message server address list before the client runtime moves on to try the next address in the list. A value of -1 indicates that the number of reconnect attempts is unlimited.

Reconnect Interval per Address (milliseconds) Specifies the interval (in milliseconds) between reconnect attempts for each address in the message server address list before the client runtime moves on to try the next address in the list. If too short, this time interval does not give a broker time to recover. If too long, the reconnect can might represent an unacceptable delay.

Connection Ping Interval (seconds) Specifies the minimum interval (in seconds) at which the client runtime will periodically check that its connection to the broker is healthy.

Ping reply timeout (milliseconds) Specifies the maximum time, in milliseconds, that the client runtime will wait for a ping reply or any data sent from the broker since its last ping reply or data sent.

Abort connection on ping reply timeout Specifies whether the connection to the broker should be aborted when no reply to a ping has been received within the ping reply timeout period. If the connection is aborted, the client runtime operates as though the connection to the broker were broken.

TCP socket connection timeout (milliseconds) Specifies the socket timeout, in milliseconds, used when a TCP connection is made to the broker. A timeout of zero is interpreted as an infinite timeout. The connection will then block until established or an error occurs. This property is used when connecting to the port mapper as well as when connecting to the required service.