diff options
author | Gordon Sim <gsim@apache.org> | 2009-08-26 16:55:43 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-08-26 16:55:43 +0000 |
commit | c221b394fb6f23d96a25f388aee00b19d6bb9b8b (patch) | |
tree | 009b4286c565de8ea17ef79bd645a9bd6b1e95e9 /cpp/examples/messaging/server.cpp | |
parent | a1c0e020f8ab7889bd6d509e45f6801bab4bd001 (diff) | |
download | qpid-python-c221b394fb6f23d96a25f388aee00b19d6bb9b8b.tar.gz |
Hide internal message ID behind API
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@808121 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/messaging/server.cpp')
-rw-r--r-- | cpp/examples/messaging/server.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/examples/messaging/server.cpp b/cpp/examples/messaging/server.cpp index 6f0f2af02d..38f4601ff6 100644 --- a/cpp/examples/messaging/server.cpp +++ b/cpp/examples/messaging/server.cpp @@ -44,9 +44,7 @@ int main(int argc, char** argv) { try { Connection connection = Connection::open(url); Session session = connection.newSession(); - VariantMap options; - options["auto_acknowledge"] = 0; - Receiver receiver = session.createReceiver("service_queue", options); + Receiver receiver = session.createReceiver("service_queue"); while (true) { Message request = receiver.fetch(); |