diff options
| author | Carl C. Trieloff <cctrieloff@apache.org> | 2009-01-25 00:41:29 +0000 |
|---|---|---|
| committer | Carl C. Trieloff <cctrieloff@apache.org> | 2009-01-25 00:41:29 +0000 |
| commit | 7a11e69aa1a86660b9cd4df58fe54bdce7dae089 (patch) | |
| tree | 6f5386e2f8ae3d969d7ec01b7858453c85d9bf07 /cpp/src/qpid/broker/Queue.h | |
| parent | b849efb083c88de6c1932d0f7a87a7c500dbd3d6 (diff) | |
| download | qpid-python-7a11e69aa1a86660b9cd4df58fe54bdce7dae089.tar.gz | |
QPID-1611 patch from mick
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@737460 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Queue.h')
| -rw-r--r-- | cpp/src/qpid/broker/Queue.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/Queue.h b/cpp/src/qpid/broker/Queue.h index 394b5fd054..e4bcded8bd 100644 --- a/cpp/src/qpid/broker/Queue.h +++ b/cpp/src/qpid/broker/Queue.h @@ -163,7 +163,9 @@ namespace qpid { bool checkForMessages(Consumer::shared_ptr); void create(const qpid::framing::FieldTable& settings); - void configure(const qpid::framing::FieldTable& settings); + + // "recovering" means we are doing a MessageStore recovery. + void configure(const qpid::framing::FieldTable& settings, bool recovering = false); void destroy(); void bound(const string& exchange, const string& key, const qpid::framing::FieldTable& args); void unbind(ExchangeRegistry& exchanges, Queue::shared_ptr shared_ref); @@ -253,7 +255,8 @@ namespace qpid { void encode(framing::Buffer& buffer) const; uint32_t encodedSize() const; - static Queue::shared_ptr decode(QueueRegistry& queues, framing::Buffer& buffer); + // "recovering" means we are doing a MessageStore recovery. + static Queue::shared_ptr decode(QueueRegistry& queues, framing::Buffer& buffer, bool recovering = false ); static void tryAutoDelete(Broker& broker, Queue::shared_ptr); virtual void setExternalQueueStore(ExternalQueueStore* inst); |
