diff options
author | Alan Conway <aconway@apache.org> | 2007-03-14 19:40:45 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2007-03-14 19:40:45 +0000 |
commit | 06f06eb902f4d2b07fde2328fc5b3a98eb218d66 (patch) | |
tree | dab95409b91b67291012730fec8127cd1015c57e | |
parent | 8a9c82489f660a08126966dffd4c734a7e4df70a (diff) | |
download | qpid-python-06f06eb902f4d2b07fde2328fc5b3a98eb218d66.tar.gz |
Merged revisions 513371 via svnmerge from
https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid
........
r513371 | rgreig | 2007-03-01 10:09:17 -0500 (Thu, 01 Mar 2007) | 1 line
(Patch submitted by Rupert Smith) Small changes to use virtual hosts, merged back in from perftesting_persistent branch.
........
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518293 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/tests/client_test.cpp | 5 | ||||
-rw-r--r-- | cpp/tests/topic_listener.cpp | 2 | ||||
-rw-r--r-- | cpp/tests/topic_publisher.cpp | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/cpp/tests/client_test.cpp b/cpp/tests/client_test.cpp index 5fbacaae73..413523a6a7 100644 --- a/cpp/tests/client_test.cpp +++ b/cpp/tests/client_test.cpp @@ -72,8 +72,9 @@ int main(int argc, char**) Connection con(verbose); string host("localhost"); - con.open(host); - if (verbose) std::cout << "Opened connection." << std::endl; + con.open(host, 5672, "guest", "guest", "/test"); + if (verbose) + std::cout << "Opened connection." << std::endl; //Create and open a channel on the connection through which //most functionality is exposed diff --git a/cpp/tests/topic_listener.cpp b/cpp/tests/topic_listener.cpp index 0741571cd4..5f5500f7b9 100644 --- a/cpp/tests/topic_listener.cpp +++ b/cpp/tests/topic_listener.cpp @@ -104,7 +104,7 @@ int main(int argc, char** argv){ try{ cout << "topic_listener: Started." << endl; Connection connection(args.getTrace()); - connection.open(args.getHost(), args.getPort()); + connection.open(args.getHost(), args.getPort(), "guest", "guest", "/test"); Channel channel(args.getTransactional(), args.getPrefetch()); connection.openChannel(channel); diff --git a/cpp/tests/topic_publisher.cpp b/cpp/tests/topic_publisher.cpp index dedb88003a..0e6c63ab35 100644 --- a/cpp/tests/topic_publisher.cpp +++ b/cpp/tests/topic_publisher.cpp @@ -118,7 +118,7 @@ int main(int argc, char** argv) { } else { try{ Connection connection(args.getTrace()); - connection.open(args.getHost(), args.getPort()); + connection.open(args.getHost(), args.getPort(), "guest", "guest", "/test"); Channel channel(args.getTransactional(), args.getPrefetch()); connection.openChannel(channel); |