summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Queue.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/Queue.h')
-rw-r--r--cpp/src/qpid/broker/Queue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/Queue.h b/cpp/src/qpid/broker/Queue.h
index f1694eb5a4..2d238ff57d 100644
--- a/cpp/src/qpid/broker/Queue.h
+++ b/cpp/src/qpid/broker/Queue.h
@@ -161,7 +161,8 @@ namespace qpid {
void consume(Consumer& c, bool exclusive = false);
void cancel(Consumer& c);
- uint32_t purge();
+ uint32_t purge(const uint32_t purge_request = 0); //defaults to all messages
+
uint32_t getMessageCount() const;
uint32_t getConsumerCount() const;
inline const string& getName() const { return name; }