From 8fddccd7efb73cd25376f5492ddb09ad7fa09e3b Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 6 Apr 2010 14:52:47 +0000 Subject: 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 --- cpp/src/qpid/messaging/Sender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/messaging/Sender.cpp') diff --git a/cpp/src/qpid/messaging/Sender.cpp b/cpp/src/qpid/messaging/Sender.cpp index 2d5cfbcec5..b4c247d1d9 100644 --- a/cpp/src/qpid/messaging/Sender.cpp +++ b/cpp/src/qpid/messaging/Sender.cpp @@ -32,7 +32,7 @@ Sender::Sender(SenderImpl* impl) { PI::ctor(*this, impl); } Sender::Sender(const Sender& s) : qpid::messaging::Handle() { PI::copy(*this, s); } Sender::~Sender() { PI::dtor(*this); } Sender& Sender::operator=(const Sender& s) { return PI::assign(*this, s); } -void Sender::send(const Message& message) { impl->send(message); } +void Sender::send(const Message& message, bool sync) { impl->send(message, sync); } void Sender::close() { impl->close(); } void Sender::setCapacity(uint32_t c) { impl->setCapacity(c); } uint32_t Sender::getCapacity() { return impl->getCapacity(); } -- cgit v1.2.1