summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Queue.h
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2009-10-29 20:41:22 +0000
committerKim van der Riet <kpvdr@apache.org>2009-10-29 20:41:22 +0000
commit1439f10f1f98edc05a12c64b44005f9c2fbc124e (patch)
treed9d3de114e5df5d5aa373a6eed342c168b0c2e70 /cpp/src/qpid/broker/Queue.h
parent93e2dbae88c8960b82f46e499b5d91c20547702f (diff)
downloadqpid-python-1439f10f1f98edc05a12c64b44005f9c2fbc124e.tar.gz
Fixed problem of queue alternate-exchange property not being persisted on persistent queues, and on recovery this property is lost. No tests exist as yet for this.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831082 13f79535-47bb-0310-9956-ffa450edef68
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 a2dad96fe0..5d9fbebc7d 100644
--- a/cpp/src/qpid/broker/Queue.h
+++ b/cpp/src/qpid/broker/Queue.h
@@ -97,6 +97,7 @@ namespace qpid {
std::auto_ptr<QueuePolicy> policy;
bool policyExceeded;
QueueBindings bindings;
+ std::string alternateExchangeName;
boost::shared_ptr<Exchange> alternateExchange;
framing::SequenceNumber sequence;
qmf::org::apache::qpid::broker::Queue* mgmtObject;
@@ -332,7 +333,7 @@ namespace qpid {
/**
* Notify queue that recovery has completed.
*/
- void recoveryComplete();
+ void recoveryComplete(ExchangeRegistry& exchanges);
// For cluster update
QueueListeners& getListeners();