From c221b394fb6f23d96a25f388aee00b19d6bb9b8b Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 26 Aug 2009 16:55:43 +0000 Subject: Hide internal message ID behind API git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@808121 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/examples/messaging/server.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cpp/examples/messaging/server.cpp') 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(); -- cgit v1.2.1