diff options
-rw-r--r-- | cpp/src/qpid/agent/ManagementAgentImpl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/qpid/agent/ManagementAgentImpl.cpp b/cpp/src/qpid/agent/ManagementAgentImpl.cpp index a0b902114e..3e7898f0da 100644 --- a/cpp/src/qpid/agent/ManagementAgentImpl.cpp +++ b/cpp/src/qpid/agent/ManagementAgentImpl.cpp @@ -856,6 +856,9 @@ void ManagementAgentImpl::ConnectionThread::sendBuffer(Buffer& buf, session.messageTransfer(arg::content=msg, arg::destination=exchange); } catch(exception& e) { QPID_LOG(error, "Exception caught in sendBuffer: " << e.what()); + // Bounce the connection + if (subscriptions) + subscriptions->stop(); } } |