{
method = new FailoverRoundRobinServers(connectionDetails);
}
else if (failoverMethod.equals(FailoverMethod.FAILOVER_EXCHANGE))
{
method = new FailoverExchangeMethod(connectionDetails, conn);
}
else if (failoverMethod.equals(FailoverMethod.NO_FAILOVER))
{
method = new NoFailover(connectionDetails);
}