diff options
author | Gordon Sim <gsim@apache.org> | 2008-05-13 18:46:00 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-05-13 18:46:00 +0000 |
commit | 433c13dd51170b93845fba0863fbd34b16941f5a (patch) | |
tree | 2f486d7120679cc60ea3f6acc1387bc3b03dcf2a /qpid/cpp/src/tests/consume.cpp | |
parent | 49582856d6942c1bc744e1c08e4b955646f1dc82 (diff) | |
download | qpid-python-433c13dd51170b93845fba0863fbd34b16941f5a.tar.gz |
Minor change to tests to use correlation id rather than body for identifying messages.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@655968 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/consume.cpp')
-rw-r--r-- | qpid/cpp/src/tests/consume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/consume.cpp b/qpid/cpp/src/tests/consume.cpp index cb7886f6a0..6d2f0a7413 100644 --- a/qpid/cpp/src/tests/consume.cpp +++ b/qpid/cpp/src/tests/consume.cpp @@ -77,7 +77,7 @@ struct Client Message msg; for (size_t i = 0; i < opts.count; ++i) { msg=lq.pop(); - std::cout << "Received: " << msg.getData().substr(0, 10) << "..." << std::endl; + std::cout << "Received: " << msg.getMessageProperties().getCorrelationId() << std::endl; } if (opts.ack != 0) subs.getAckPolicy().ackOutstanding(session); // Cumulative ack for final batch. |