From 5fefba96275941d1c3c63bfe3cc98c597357e8c2 Mon Sep 17 00:00:00 2001 From: Robert Godfrey Date: Sat, 23 Jan 2010 23:17:58 +0000 Subject: QPID-2321 : Add queue browsing capability to 0-8 .net client to allow for use of LVQ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902505 13f79535-47bb-0310-9956-ffa450edef68 --- dotnet/Qpid.Client/Client/BasicMessageConsumer.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'dotnet/Qpid.Client/Client/BasicMessageConsumer.cs') diff --git a/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs b/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs index 6fee316cb4..fdac5e75f2 100644 --- a/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs +++ b/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs @@ -44,6 +44,13 @@ namespace Apache.Qpid.Client get { return _exclusive; } } + private bool _browse; + + public bool Browse + { + get { return _browse; } + } + public bool NoLocal { get { return _noLocal; } @@ -131,7 +138,7 @@ namespace Apache.Qpid.Client internal BasicMessageConsumer(ushort channelId, string queueName, bool noLocal, MessageFactoryRegistry messageFactory, AmqChannel channel, - int prefetchHigh, int prefetchLow, bool exclusive) + int prefetchHigh, int prefetchLow, bool exclusive, bool browse) { _channelId = channelId; _queueName = queueName; @@ -142,6 +149,7 @@ namespace Apache.Qpid.Client _prefetchHigh = prefetchHigh; _prefetchLow = prefetchLow; _exclusive = exclusive; + _browse = browse; if (_acknowledgeMode == AcknowledgeMode.SessionTransacted) { -- cgit v1.2.1