From eb985ca06c420450dfe04bf1e15124053d819e4b Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 9 Sep 2013 17:08:30 +0000 Subject: QPID-4327: HA support for TX transactions - consistent use of QueueRegistry::get git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1521191 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/broker/SemanticState.cpp | 4 +--- qpid/cpp/src/qpid/broker/SessionAdapter.cpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'qpid/cpp') diff --git a/qpid/cpp/src/qpid/broker/SemanticState.cpp b/qpid/cpp/src/qpid/broker/SemanticState.cpp index 3ba01de004..18c29c09f9 100644 --- a/qpid/cpp/src/qpid/broker/SemanticState.cpp +++ b/qpid/cpp/src/qpid/broker/SemanticState.cpp @@ -665,9 +665,7 @@ Queue::shared_ptr SemanticState::getQueue(const string& name) const { if (name.empty()) { throw NotAllowedException(QPID_MSG("No queue name specified.")); } else { - queue = session.getBroker().getQueues().find(name); - if (!queue) - throw NotFoundException(QPID_MSG("Queue not found: "<