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 | 19b863e9fe0ddab32166b2f4b200b9199b079309 (patch) | |
| tree | d4b70d76c6e51e6e5aae4c52571500cbad734671 /qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs | |
| parent | 574ccc6c24251f20abd410c60ff010df6518a7fb (diff) | |
| download | qpid-python-19b863e9fe0ddab32166b2f4b200b9199b079309.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@902505 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs')
| -rw-r--r-- | qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs b/qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs index 6fee316cb4..fdac5e75f2 100644 --- a/qpid/dotnet/Qpid.Client/Client/BasicMessageConsumer.cs +++ b/qpid/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) { |
