Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 Introduction : Configuring C and COBOL Clients for Fault-Tolerant Connections

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, as described in Configuring Clients for Shared State Failover Connections in the TIBCO Enterprise Message Service User’s Guide.
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 );

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved