diff options
| author | Gordon Sim <gsim@apache.org> | 2006-12-13 17:15:01 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2006-12-13 17:15:01 +0000 |
| commit | 346760b8e03bb50c1704d9e7e762fa4f5a284fb6 (patch) | |
| tree | 0271c7fc7d0799f7ecf80b362512b68cb2c5eeec /cpp/tests/topic_publisher.cpp | |
| parent | 9b87937e2657848cd8497bda70266e38dc8c0f90 (diff) | |
| download | qpid-python-346760b8e03bb50c1704d9e7e762fa4f5a284fb6.tar.gz | |
Added some doxygen comments for the client API.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486747 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests/topic_publisher.cpp')
| -rw-r--r-- | cpp/tests/topic_publisher.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/tests/topic_publisher.cpp b/cpp/tests/topic_publisher.cpp index cde3f6ee79..86dae8e172 100644 --- a/cpp/tests/topic_publisher.cpp +++ b/cpp/tests/topic_publisher.cpp @@ -159,12 +159,12 @@ int64_t Publisher::publish(int msgs, int listeners, int size){ { Monitor::ScopedLock l(monitor); for(int i = 0; i < msgs; i++){ - channel->publish(msg, Exchange::DEFAULT_TOPIC_EXCHANGE, controlTopic); + channel->publish(msg, Exchange::STANDARD_TOPIC_EXCHANGE, controlTopic); } //send report request Message reportRequest; reportRequest.getHeaders().setString("TYPE", "REPORT_REQUEST"); - channel->publish(reportRequest, Exchange::DEFAULT_TOPIC_EXCHANGE, controlTopic); + channel->publish(reportRequest, Exchange::STANDARD_TOPIC_EXCHANGE, controlTopic); if(transactional){ channel->commit(); } @@ -188,7 +188,7 @@ void Publisher::terminate(){ //send termination request Message terminationRequest; terminationRequest.getHeaders().setString("TYPE", "TERMINATION_REQUEST"); - channel->publish(terminationRequest, Exchange::DEFAULT_TOPIC_EXCHANGE, controlTopic); + channel->publish(terminationRequest, Exchange::STANDARD_TOPIC_EXCHANGE, controlTopic); if(transactional){ channel->commit(); } |
