summaryrefslogtreecommitdiff
path: root/cpp/client/test
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/client/test')
-rw-r--r--cpp/client/test/topic_listener.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/client/test/topic_listener.cpp b/cpp/client/test/topic_listener.cpp
index 707b3443a1..d5b6d77c1a 100644
--- a/cpp/client/test/topic_listener.cpp
+++ b/cpp/client/test/topic_listener.cpp
@@ -129,7 +129,7 @@ void Listener::report(){
report << "Received " << count << " messages in " << time << " ms.";
Message msg;
msg.setData(report.str());
- channel->publish(msg, Exchange::DEFAULT_DIRECT_EXCHANGE, responseQueue);
+ channel->publish(msg, string(""), responseQueue);
if(transactional){
channel->commit();
}