diff options
| author | Gordon Sim <gsim@apache.org> | 2007-08-02 18:09:48 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-08-02 18:09:48 +0000 |
| commit | e512cef4ddb7e2e73bff17fe87915ce79f7da72d (patch) | |
| tree | 62c6e17cee16668943f3d7b1b70d6277ab2bb29e /qpid/cpp/src/tests/topic_publisher.cpp | |
| parent | eef9dc7de8ff5fdcbb605e59d87206eae746a56e (diff) | |
| download | qpid-python-e512cef4ddb7e2e73bff17fe87915ce79f7da72d.tar.gz | |
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
Diffstat (limited to 'qpid/cpp/src/tests/topic_publisher.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/topic_publisher.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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); |
