From e512cef4ddb7e2e73bff17fe87915ce79f7da72d Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 2 Aug 2007 18:09:48 +0000 Subject: Some restructuring of the client code: * Introduced three separate 'handlers' for the connection, channel and execution 'layers'. * Support for asynchronous retrieval of response or completion status. * Channel methods no longer included in execution layers command id count. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@562212 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/topic_publisher.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qpid/cpp/src/tests/topic_publisher.cpp') diff --git a/qpid/cpp/src/tests/topic_publisher.cpp b/qpid/cpp/src/tests/topic_publisher.cpp index f792540c09..5800f9225d 100644 --- a/qpid/cpp/src/tests/topic_publisher.cpp +++ b/qpid/cpp/src/tests/topic_publisher.cpp @@ -121,8 +121,7 @@ int main(int argc, char** argv) { //set up listener Publisher publisher(&channel, "topic_control", args.transactional); - string tag("mytag"); - channel.consume(response, tag, &publisher, AckMode(args.ackmode)); + channel.consume(response, "mytag", &publisher, AckMode(args.ackmode)); channel.start(); int batchSize(args.batches); -- cgit v1.2.1