summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/messaging/client.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-04-09 15:08:47 +0000
committerGordon Sim <gsim@apache.org>2010-04-09 15:08:47 +0000
commit0aaa340fa8c3b994790b355950d358af3b0979e2 (patch)
tree6828019633d5e4c7261631fea27b22934740e27e /qpid/cpp/examples/messaging/client.cpp
parent08dfca659546aac8184383259fb9bec583a88927 (diff)
downloadqpid-python-0aaa340fa8c3b994790b355950d358af3b0979e2.tar.gz
QPID-664: changed connect() back to open(),removed detach(),defined new exception hierarchy, added ability to re-use reconnect/replay logic for resource-limit-exceeded errors
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@932451 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/messaging/client.cpp')
-rw-r--r--qpid/cpp/examples/messaging/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/examples/messaging/client.cpp b/qpid/cpp/examples/messaging/client.cpp
index c1a8d74237..a3855807c8 100644
--- a/qpid/cpp/examples/messaging/client.cpp
+++ b/qpid/cpp/examples/messaging/client.cpp
@@ -41,7 +41,7 @@ int main(int argc, char** argv) {
Connection connection(url);
try {
- connection.connect();
+ connection.open();
Session session = connection.createSession();
Sender sender = session.createSender("service_queue");