diff options
author | Gordon Sim <gsim@apache.org> | 2007-10-15 09:52:16 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-10-15 09:52:16 +0000 |
commit | 143e0b952e77e5a2d487ffd7cad0fc82bdeeb45c (patch) | |
tree | e1f4dab4ff80c582fad678ca08020f1cc657651d /cpp/src/qpid/broker/SemanticState.cpp | |
parent | d1fe45808c053e19b6112ee2b823710167f8e821 (diff) | |
download | qpid-python-143e0b952e77e5a2d487ffd7cad0fc82bdeeb45c.tar.gz |
Remove default queue concept which is no longer applicable in 0-10.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@584719 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SemanticState.cpp')
-rw-r--r-- | cpp/src/qpid/broker/SemanticState.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp index 09f5b8ce98..8afc2f0853 100644 --- a/cpp/src/qpid/broker/SemanticState.cpp +++ b/cpp/src/qpid/broker/SemanticState.cpp @@ -540,14 +540,10 @@ void SemanticState::ConsumerImpl::stop() } Queue::shared_ptr SemanticState::getQueue(const string& name) const { - //Note: this can be removed soon as the default queue for sessions is scrapped in 0-10 Queue::shared_ptr queue; if (name.empty()) { - queue = getDefaultQueue(); - if (!queue) - throw NotAllowedException(QPID_MSG("No queue name specified.")); - } - else { + throw NotAllowedException(QPID_MSG("No queue name specified.")); + } else { queue = session.getBroker().getQueues().find(name); if (!queue) throw NotFoundException(QPID_MSG("Queue not found: "<<name)); |