diff options
author | Jonathan Robie <jonathan@apache.org> | 2008-12-08 18:43:34 +0000 |
---|---|---|
committer | Jonathan Robie <jonathan@apache.org> | 2008-12-08 18:43:34 +0000 |
commit | 54761d79c0c65aa058afe4e77086375a4ea88b15 (patch) | |
tree | 8f2d0514ef00d0c0d81c2c06f8407d5df3b46557 /cpp/examples/request-response/client.cpp | |
parent | aa2cd60dd1a77bfe34dc8bc71a609eb263d260f5 (diff) | |
download | qpid-python-54761d79c0c65aa058afe4e77086375a4ea88b15.tar.gz |
Removed a cast to asynch sessions for message transfer in client.
It was not needed, and disagreed with the tutorial.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@724442 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/request-response/client.cpp')
-rw-r--r-- | cpp/examples/request-response/client.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/examples/request-response/client.cpp b/cpp/examples/request-response/client.cpp index a71a6368b0..b1f8d0b587 100644 --- a/cpp/examples/request-response/client.cpp +++ b/cpp/examples/request-response/client.cpp @@ -144,9 +144,7 @@ int main(int argc, char** argv) { for (int i=0; i<4; i++) { request.setData(s[i]); - // Asynchronous transfer sends messages as quickly as - // possible without waiting for confirmation. - async(session).messageTransfer(arg::content=request, arg::destination="amq.direct"); + session.messageTransfer(arg::content=request, arg::destination="amq.direct"); std::cout << "Request: " << s[i] << std::endl; } |