summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotnet/Qpid.Client/Client/BasicMessageConsumer.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs b/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs
index ffd19e9500..611a4e5351 100644
--- a/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs
+++ b/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs
@@ -50,9 +50,11 @@ namespace Qpid.Client
set { _noLocal = value; }
}
+ private AcknowledgeMode _acknowledgeMode;
+
public AcknowledgeMode AcknowledgeMode
{
- get { return _channel.AcknowledgeMode; }
+ get { return _acknowledgeMode; }
}
private MessageReceivedDelegate _messageListener;
@@ -114,6 +116,7 @@ namespace Qpid.Client
_noLocal = noLocal;
_messageFactory = messageFactory;
_channel = channel;
+ _acknowledgeMode = _channel.AcknowledgeMode;
}
#region IMessageConsumer Members