diff options
| author | Gordon Sim <gsim@apache.org> | 2013-08-09 09:32:28 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2013-08-09 09:32:28 +0000 |
| commit | 5b54865b07abd5fe484393e2ffc52d47a1f0226b (patch) | |
| tree | 8264f11b987307595d5e5c4a79acad9b34133f90 /qpid/cpp/src | |
| parent | 414074d9fcec48fe395a061d3d31c255c4bbc13f (diff) | |
| download | qpid-python-5b54865b07abd5fe484393e2ffc52d47a1f0226b.tar.gz | |
QPID-5061: do exclusivity checks before registering link to avoid cancelling a subscription that did not succeed
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1512218 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/amqp/Session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/amqp/Session.cpp b/qpid/cpp/src/qpid/broker/amqp/Session.cpp index 1d6c835b04..cb154d6b70 100644 --- a/qpid/cpp/src/qpid/broker/amqp/Session.cpp +++ b/qpid/cpp/src/qpid/broker/amqp/Session.cpp @@ -355,8 +355,8 @@ void Session::setupOutgoing(pn_link_t* link, pn_terminus_t* source, const std::s authorise.outgoing(node.exchange, queue, filter); filter.bind(node.exchange, queue); boost::shared_ptr<Outgoing> q(new OutgoingFromQueue(connection.getBroker(), name, target, queue, link, *this, out, !shared, false)); - outgoing[link] = q; q->init(); + outgoing[link] = q; } else if (node.relay) { boost::shared_ptr<Outgoing> out(new OutgoingFromRelay(link, connection.getBroker(), *this, name, target, pn_link_name(link), node.relay)); outgoing[link] = out; |
