From 5c952db3bb1fad90ea4f5de985453d13dce45e7c Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 7 Nov 2007 21:01:26 +0000 Subject: auto-ack support for perftest. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@592897 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/SubscriptionManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/client/SubscriptionManager.cpp') diff --git a/cpp/src/qpid/client/SubscriptionManager.cpp b/cpp/src/qpid/client/SubscriptionManager.cpp index fc65843643..478b8438c2 100644 --- a/cpp/src/qpid/client/SubscriptionManager.cpp +++ b/cpp/src/qpid/client/SubscriptionManager.cpp @@ -41,8 +41,8 @@ void SubscriptionManager::subscribe( MessageListener& listener, const std::string& q, const std::string& t) { std::string tag=t.empty() ? q:t; - session.messageSubscribe(arg::queue=q, arg::destination=tag); dispatcher.listen(tag, &listener); + session.messageSubscribe(arg::queue=q, arg::destination=tag); setFlowControl(tag, messages, bytes, window); } -- cgit v1.2.1