summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Connector.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-11-07 19:57:46 +0000
committerAlan Conway <aconway@apache.org>2007-11-07 19:57:46 +0000
commit710b8a1f1285b9aa5bccee5b1906500667dd7bc5 (patch)
tree83005778c44cf7d897cef882ced2330bc8bd2228 /cpp/src/qpid/client/Connector.cpp
parentd19657d82321b2b5e2cac386c49aa99f82b976fb (diff)
downloadqpid-python-710b8a1f1285b9aa5bccee5b1906500667dd7bc5.tar.gz
client::SubscriptionManager:
- Added autoStop support. - Added LocalQueue subscriptions. - Expose AckPolicy settings to user. client::Message: - incoming Messages carry their session for acknowledge perftest: (see perftest --help for details...) - allow multiple consumers. - 3 queue modes: shared, fanout, topic. - set size of messages git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@592869 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Connector.cpp')
-rw-r--r--cpp/src/qpid/client/Connector.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/qpid/client/Connector.cpp b/cpp/src/qpid/client/Connector.cpp
index ba11ea5569..80d97b10aa 100644
--- a/cpp/src/qpid/client/Connector.cpp
+++ b/cpp/src/qpid/client/Connector.cpp
@@ -52,9 +52,8 @@ Connector::Connector(
}
Connector::~Connector(){
- if (receiver.id()) {
+ if (receiver.id() && receiver.id() != Thread::current().id())
receiver.join();
- }
}
void Connector::connect(const std::string& host, int port){