diff options
Diffstat (limited to 'cpp/lib/broker/MessageHandlerImpl.cpp')
-rw-r--r-- | cpp/lib/broker/MessageHandlerImpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/lib/broker/MessageHandlerImpl.cpp b/cpp/lib/broker/MessageHandlerImpl.cpp index 7200027115..797e3fbbf9 100644 --- a/cpp/lib/broker/MessageHandlerImpl.cpp +++ b/cpp/lib/broker/MessageHandlerImpl.cpp @@ -110,13 +110,13 @@ void MessageHandlerImpl::get( const MethodContext& context, u_int16_t /*ticket*/, const string& queueName, - const string& /*destination*/, + const string& destination, bool noAck ) { Queue::shared_ptr queue = connection.getQueue(queueName, context.channel->getId()); - if(channel.get(queue, !noAck)) + if(channel.get(queue, destination, !noAck)) client.ok(context); else client.empty(context); |