summaryrefslogtreecommitdiff
path: root/dotnet
diff options
context:
space:
mode:
authorSteven Shaw <steshaw@apache.org>2006-11-28 19:28:17 +0000
committerSteven Shaw <steshaw@apache.org>2006-11-28 19:28:17 +0000
commit74032625951a9105d0d20c592beccb2b6b4dce68 (patch)
tree1120a686852b2ed8a443641806ec47d647fa7596 /dotnet
parent16f6727812c3c86b8be3e6c306408e9c6cc90633 (diff)
downloadqpid-python-74032625951a9105d0d20c592beccb2b6b4dce68.tar.gz
Oops. Missed Basic.Consume. Add commands necessary for fail over are recorded and replayed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480164 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dotnet')
-rw-r--r--dotnet/Qpid.Client.Tests/log4net.config2
-rw-r--r--dotnet/Qpid.Client/Client/AmqChannel.cs2
-rw-r--r--dotnet/TODO.txt1
3 files changed, 3 insertions, 2 deletions
diff --git a/dotnet/Qpid.Client.Tests/log4net.config b/dotnet/Qpid.Client.Tests/log4net.config
index 1cd86f3fa9..71096de248 100644
--- a/dotnet/Qpid.Client.Tests/log4net.config
+++ b/dotnet/Qpid.Client.Tests/log4net.config
@@ -7,7 +7,7 @@
<appender name="filelog" type="log4net.Appender.FileAppender">
<file value="qpid_client.log"/>
- <appendToFile value="true"/>
+ <appendToFile value="false"/>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%d [%t] %-5p %c:%M(%L) - %m%n" />
</layout>
diff --git a/dotnet/Qpid.Client/Client/AmqChannel.cs b/dotnet/Qpid.Client/Client/AmqChannel.cs
index 6b0661b3be..5216394a26 100644
--- a/dotnet/Qpid.Client/Client/AmqChannel.cs
+++ b/dotnet/Qpid.Client/Client/AmqChannel.cs
@@ -768,6 +768,8 @@ namespace Qpid.Client
acknowledgeMode == AcknowledgeMode.NoAcknowledge,
exclusive, true);
+ _replayFrames.Add(basicConsume);
+
_connection.ProtocolWriter.Write(basicConsume);
return tag;
}
diff --git a/dotnet/TODO.txt b/dotnet/TODO.txt
index 7494b13b42..00b4ddf361 100644
--- a/dotnet/TODO.txt
+++ b/dotnet/TODO.txt
@@ -1,7 +1,6 @@
https://issues.apache.org/jira/browse/QPID-134
* Failover.
- * record and replay necessary commands.
* Review new API methods for fail over requirements.
i.e. lock on mutex for non-blocking methods, FailoverSupport (for blocking methods)