From 9fd4909832e16734c47c13eebbe4aca66640b1b0 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 6 Mar 2008 17:52:59 +0000 Subject: Fixes to c++ broker: - use final version of delivery properties where appropriate - start sequence numbering of outgoing messages at 0 - explicit accept-mode is now 0 (no more confirm-mode) - add default initialisers for numeric fields in methods Converted some more python tests to use final 0-10 client. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634368 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/SemanticState.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpp/src/qpid/broker/SemanticState.cpp') diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp index b56b152397..5851eeeafb 100644 --- a/cpp/src/qpid/broker/SemanticState.cpp +++ b/cpp/src/qpid/broker/SemanticState.cpp @@ -89,12 +89,12 @@ bool SemanticState::exists(const string& consumerTag){ } void SemanticState::consume(DeliveryToken::shared_ptr token, string& tagInOut, - Queue::shared_ptr queue, bool nolocal, bool acks, bool acquire, - bool exclusive, const FieldTable*) + Queue::shared_ptr queue, bool nolocal, bool ackRequired, bool acquire, + bool exclusive, const FieldTable*) { if(tagInOut.empty()) tagInOut = tagGenerator.generate(); - std::auto_ptr c(new ConsumerImpl(this, token, tagInOut, queue, acks, nolocal, acquire)); + std::auto_ptr c(new ConsumerImpl(this, token, tagInOut, queue, ackRequired, nolocal, acquire)); queue->consume(*c, exclusive);//may throw exception outputTasks.addOutputTask(c.get()); consumers.insert(tagInOut, c.release()); -- cgit v1.2.1