diff options
| author | Robert Godfrey <rgodfrey@apache.org> | 2010-01-23 23:17:58 +0000 |
|---|---|---|
| committer | Robert Godfrey <rgodfrey@apache.org> | 2010-01-23 23:17:58 +0000 |
| commit | 5fefba96275941d1c3c63bfe3cc98c597357e8c2 (patch) | |
| tree | 6e582fba0f70dc1c7d2377b300b8ce998ca64e81 /dotnet/Qpid.Client/Client/BasicMessageConsumer.cs | |
| parent | 83b3d97aabaf5d6f1ba672080c936de2743186ed (diff) | |
| download | qpid-python-5fefba96275941d1c3c63bfe3cc98c597357e8c2.tar.gz | |
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
Diffstat (limited to 'dotnet/Qpid.Client/Client/BasicMessageConsumer.cs')
| -rw-r--r-- | dotnet/Qpid.Client/Client/BasicMessageConsumer.cs | 10 |
1 files changed, 9 insertions, 1 deletions
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) { |
