summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/messaging/spout.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/spout.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/spout.cpp')
-rw-r--r--qpid/cpp/examples/messaging/spout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/examples/messaging/spout.cpp b/qpid/cpp/examples/messaging/spout.cpp
index 9ed8b642c8..2e9e91bfba 100644
--- a/qpid/cpp/examples/messaging/spout.cpp
+++ b/qpid/cpp/examples/messaging/spout.cpp
@@ -158,7 +158,7 @@ int main(int argc, char** argv)
if (options.parse(argc, argv)) {
Connection connection(options.url, options.connectionOptions);
try {
- connection.connect();
+ connection.open();
Session session = connection.createSession();
Sender sender = session.createSender(options.address);