summaryrefslogtreecommitdiff
path: root/dotnet/Qpid.Client/qms/FailoverPolicy.cs
diff options
context:
space:
mode:
authorSteven Shaw <steshaw@apache.org>2006-12-04 16:35:07 +0000
committerSteven Shaw <steshaw@apache.org>2006-12-04 16:35:07 +0000
commit9bbc2fb73926209434894bdb6b8f74a02e1d5fd7 (patch)
tree68c1b51d963aa8b4cd92dade264fee12aa367971 /dotnet/Qpid.Client/qms/FailoverPolicy.cs
parentbfe3152312b1a6cd89fadd3f1c23e8bd37e1226d (diff)
downloadqpid-python-9bbc2fb73926209434894bdb6b8f74a02e1d5fd7.tar.gz
QPID-153 Initial port of URL parsing from Java client. Due to .NET Uri parser must support "host" name. Use "default" when you don't want to really supply one.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482237 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dotnet/Qpid.Client/qms/FailoverPolicy.cs')
-rw-r--r--dotnet/Qpid.Client/qms/FailoverPolicy.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/dotnet/Qpid.Client/qms/FailoverPolicy.cs b/dotnet/Qpid.Client/qms/FailoverPolicy.cs
index 15d52491df..5d3eceb58e 100644
--- a/dotnet/Qpid.Client/qms/FailoverPolicy.cs
+++ b/dotnet/Qpid.Client/qms/FailoverPolicy.cs
@@ -56,9 +56,9 @@ namespace Qpid.Client.qms
_methodsRetries = 0;
- if (connectionInfo.getFailoverMethod() == null)
+ if (connectionInfo.GetFailoverMethod() == null)
{
- if (connectionInfo.getBrokerCount() > 1)
+ if (connectionInfo.GetBrokerCount() > 1)
{
method = new FailoverRoundRobin(connectionInfo);
}
@@ -69,7 +69,7 @@ namespace Qpid.Client.qms
}
else
{
- string failoverMethod = connectionInfo.getFailoverMethod();
+ string failoverMethod = connectionInfo.GetFailoverMethod();
/*
if (failoverMethod.equals(FailoverMethod.RANDOM))