summaryrefslogtreecommitdiff
path: root/qpid/cpp/lib/broker/BrokerQueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/lib/broker/BrokerQueue.h')
-rw-r--r--qpid/cpp/lib/broker/BrokerQueue.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/qpid/cpp/lib/broker/BrokerQueue.h b/qpid/cpp/lib/broker/BrokerQueue.h
index 18befbee03..41611bebe9 100644
--- a/qpid/cpp/lib/broker/BrokerQueue.h
+++ b/qpid/cpp/lib/broker/BrokerQueue.h
@@ -66,7 +66,7 @@ namespace qpid {
int64_t lastUsed;
Consumer* exclusive;
mutable u_int64_t persistenceId;
- std::auto_ptr<QueuePolicy> policy;
+ std::auto_ptr<QueuePolicy> policy;
void pop();
void push(Message::shared_ptr& msg);
@@ -86,6 +86,7 @@ namespace qpid {
~Queue();
void create(const qpid::framing::FieldTable& settings);
+ void configure(const qpid::framing::FieldTable& settings);
void destroy();
/**
* Informs the queue of a binding that should be cancelled on
@@ -135,6 +136,8 @@ namespace qpid {
* dequeues from memory only
*/
Message::shared_ptr dequeue();
+
+ const QueuePolicy* const getPolicy();
};
}
}