diff options
| author | Gordon Sim <gsim@apache.org> | 2010-04-06 14:52:47 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-04-06 14:52:47 +0000 |
| commit | ebca54c8be477cf9a53162a79544dd7e731b6891 (patch) | |
| tree | 2c2e7045eb1a4733fbb24a4f7106e96dca945ae0 /cpp/examples/messaging/map_sender.cpp | |
| parent | f198c2f96724dc0a2033ccf132418973f2ec8a5c (diff) | |
| download | qpid-python-ebca54c8be477cf9a53162a79544dd7e731b6891.tar.gz | |
QPID-664: added param to control synchronous send and acknowledge
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931170 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/messaging/map_sender.cpp')
| -rw-r--r-- | cpp/examples/messaging/map_sender.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/examples/messaging/map_sender.cpp b/cpp/examples/messaging/map_sender.cpp index 8c85510717..8dba47ce63 100644 --- a/cpp/examples/messaging/map_sender.cpp +++ b/cpp/examples/messaging/map_sender.cpp @@ -56,8 +56,7 @@ int main(int argc, char** argv) { content["uuid"] = Uuid(true); encode(content, message); - sender.send(message); - session.sync(); + sender.send(message, true); connection.close(); return 0; |
