summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2009-11-19 22:07:43 +0000
committerGordon Sim <gsim@apache.org>2009-11-19 22:07:43 +0000
commit4e7097e788097ffa50ff0a13ba13ee2d137f70ca (patch)
tree0205275c1f431256505e87df33d3ca216ae46e3f /cpp/src
parent9d53c2a6e04e436f19388a18a8481b2822dd4595 (diff)
downloadqpid-python-4e7097e788097ffa50ff0a13ba13ee2d137f70ca.tar.gz
In exchange-bound, set queue-not-found correctly even if exchange is not found.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882322 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/broker/SessionAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SessionAdapter.cpp b/cpp/src/qpid/broker/SessionAdapter.cpp
index 5e5d79343a..a7743d95ab 100644
--- a/cpp/src/qpid/broker/SessionAdapter.cpp
+++ b/cpp/src/qpid/broker/SessionAdapter.cpp
@@ -256,7 +256,7 @@ ExchangeBoundResult SessionAdapter::ExchangeHandlerImpl::bound(const std::string
}
if (!exchange) {
- return ExchangeBoundResult(true, false, false, false, false);
+ return ExchangeBoundResult(true, (!queueName.empty() && !queue), false, false, false);
} else if (!queueName.empty() && !queue) {
return ExchangeBoundResult(false, true, false, false, false);
} else if (exchange->isBound(queue, key.empty() ? 0 : &key, args.count() > 0 ? &args : &args)) {