diff options
author | Alan Conway <aconway@apache.org> | 2008-09-22 19:08:47 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-09-22 19:08:47 +0000 |
commit | 5028ba1a330f86f4f53fdeaa89d3564435086b29 (patch) | |
tree | 6ea93770958c647bc7c5abc200707b80905a7819 /cpp/src/qpid/cluster/DumpClient.cpp | |
parent | f31ce3a04e59da295f397379025809c16ee1258d (diff) | |
download | qpid-python-5028ba1a330f86f4f53fdeaa89d3564435086b29.tar.gz |
Fixed error handling session-busy condition on broker.
Added accessors to iterate over broker::SemanticState consumers.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697951 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/DumpClient.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/DumpClient.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/DumpClient.cpp b/cpp/src/qpid/cluster/DumpClient.cpp index c78859cc39..45ccec7166 100644 --- a/cpp/src/qpid/cluster/DumpClient.cpp +++ b/cpp/src/qpid/cluster/DumpClient.cpp @@ -186,8 +186,16 @@ void DumpClient::dumpSession(broker::SessionHandler& sh) { client::Session cs; client::SessionBase_0_10Access(cs).set(simpl); cs.sync(); + + broker::SessionState* ss = sh.getSession(); + ss->eachConsumer(boost::bind(&DumpClient::dumpConsumer, this, _1)); + // FIXME aconway 2008-09-19: remaining session state. QPID_LOG(debug, "Dump done, session " << sh.getSession()->getId()); } +void DumpClient::dumpConsumer(broker::SemanticState::ConsumerImpl* ci) { + QPID_LOG(critical, "DEBUG: dump consumer: " << ci->getName()); +} + }} // namespace qpid::cluster |