Create Connection Factories for Fault-Tolerant Connections

When connecting a fault-tolerant client to EMS, you must specify two or more EMS servers in your connection factory. When creating a connection factory for a fault-tolerant client, specify multiple server URLs in the url argument of the create factory command.

For example, to create a generic connection factory, named myFtFactory, that establishes TCP connections to port 7545 on the primary server, server0, and port 7344 on the secondary server, server1, start the EMS Administration Tool and enter (on one line):

   create factory myFtFactory generic url=tcp://server0:7545,tcp://server1:7344

Should server0 become unavailable, the client will connect to server1. See Fault Tolerance for details.