diff options
author | Alan Conway <aconway@apache.org> | 2008-02-20 15:26:05 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-02-20 15:26:05 +0000 |
commit | b9c71c852e2e7bbc1635ff62fabf2469e2175399 (patch) | |
tree | ee3ce9dcd6dc45e76270f6f4d696eb09bfc63895 /cpp/src/tests/cluster_client.cpp | |
parent | 615beb132f725ebc4a88d58dc5f3b8af8419f932 (diff) | |
download | qpid-python-b9c71c852e2e7bbc1635ff62fabf2469e2175399.tar.gz |
Added non-optional enum { SYNC, ASYNC } parameter to newSession.
Updated API doc in client/SessionBase.h
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629503 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/cluster_client.cpp')
-rw-r--r-- | cpp/src/tests/cluster_client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/cluster_client.cpp b/cpp/src/tests/cluster_client.cpp index 30b7e38801..cd048d1651 100644 --- a/cpp/src/tests/cluster_client.cpp +++ b/cpp/src/tests/cluster_client.cpp @@ -62,14 +62,14 @@ BOOST_AUTO_TEST_CASE(testWiringReplication) { ClusterConnections cluster; BOOST_REQUIRE(cluster.size() > 1); - Session broker0 = cluster[0]->newSession(); + Session broker0 = cluster[0]->newSession(ASYNC); broker0.exchangeDeclare(exchange="ex"); broker0.queueDeclare(queue="q"); broker0.queueBind(exchange="ex", queue="q", routingKey="key"); broker0.close(); for (size_t i = 1; i < cluster.size(); ++i) { - Session s = cluster[i]->newSession(); + Session s = cluster[i]->newSession(ASYNC); s.messageTransfer(content=TransferContent("data", "key", "ex")); s.messageSubscribe(queue="q", destination="q"); s.messageFlow(destination="q", unit=0, value=1);//messages |