Use the Connection Handling tab to configure 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 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 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.