
Patch: 503_070709_0008

Case: 5469
Description: 05/11/2007 Added the ability for MMDataSource to support connection-time fail-over through the use of setAlternateServers() and getAlternateServer().  The methods take and return a string of comma delimited servers with an optional :port for each server.  If :port is not specified the portNumber set on the MMDataSource is used.  For example: 

       setServerName(“mymmserver”);
       setPortNumber(31000);
       setAlternateServers(“mymmserver:31001,mymmserver2:31000,mymmserver2:31001”);
       
       This would allow connections to be attempted mymmserver:31000, mymmserver:31001, mymmserver2:31000, and mymmserver2:31001.  Because portNumber has been set to 31000, the following would be the same:

       setServerName(“mymmserver”);
       setPortNumber(31000);
       setAlternateServers(“mymmserver:31001,mymmserver2,mymmserver2:31001”);
       
       Note that :31000 was omitted from the setAlternateServers() method.
    
