summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/DumpClient.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-10-16 21:05:45 +0000
committerAlan Conway <aconway@apache.org>2008-10-16 21:05:45 +0000
commit3a8e5000883d4fc514bbbbe7c9536e25ea14e7e9 (patch)
tree1b358599cbb1dba17fe8dcfcf164e1473084b390 /cpp/src/qpid/cluster/DumpClient.cpp
parent564b128b1e7d9ba6d40b135d961cfc64869e06c4 (diff)
downloadqpid-python-3a8e5000883d4fc514bbbbe7c9536e25ea14e7e9.tar.gz
Added missing message.subscribe arguments to SemanticState::ConsumerImpl for replication (and future use.)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@705359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/DumpClient.cpp')
-rw-r--r--cpp/src/qpid/cluster/DumpClient.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/cpp/src/qpid/cluster/DumpClient.cpp b/cpp/src/qpid/cluster/DumpClient.cpp
index 853eb689c6..58aa14655c 100644
--- a/cpp/src/qpid/cluster/DumpClient.cpp
+++ b/cpp/src/qpid/cluster/DumpClient.cpp
@@ -219,13 +219,10 @@ void DumpClient::dumpConsumer(broker::SemanticState::ConsumerImpl* ci) {
arg::destination = ci->getName(),
arg::acceptMode = ci->isAckExpected() ? ACCEPT_MODE_EXPLICIT : ACCEPT_MODE_NONE,
arg::acquireMode = ci->isAcquire() ? ACQUIRE_MODE_PRE_ACQUIRED : ACQUIRE_MODE_NOT_ACQUIRED,
- arg::exclusive = false , // FIXME aconway 2008-09-23: duplicate from consumer
-
- // TODO aconway 2008-09-23: remaining args not used by current broker.
- // Update this code when they are.
- arg::resumeId=std::string(),
- arg::resumeTtl=0,
- arg::arguments=FieldTable()
+ arg::exclusive = ci->isExclusive(),
+ arg::resumeId = ci->getResumeId(),
+ arg::resumeTtl = ci->getResumeTtl(),
+ arg::arguments = ci->getArguments()
);
shadowSession.messageSetFlowMode(ci->getName(), ci->isWindowing() ? FLOW_MODE_WINDOW : FLOW_MODE_CREDIT);
shadowSession.messageFlow(ci->getName(), CREDIT_UNIT_MESSAGE, ci->getMsgCredit());