Configuring C and COBOL Clients for Fault-Tolerant Connections

When connecting a fault-tolerant client to EMS, you must specify two or more EMS servers.

C clients list the primary and backup server URLs in the brokerURL argument to a connection constructor, separated by a comma.

Example

In this example, the first server is tcp://server0:7222, and the second server is tcp://server1:7344 (if first server is not available).

tibemsConnection_Create(
    &connection,
    "tcp://server0:7222,
     tcp://server1:7344",
    NULL, "admin", NULL );

See:

in the TIBCO Enterprise Message Service User's Guide.