From d499b75a390cbb6a30206f384dd460e642ab7552 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 13 May 2008 18:46:00 +0000 Subject: 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/qpid@655968 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/consume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/tests/consume.cpp') diff --git a/cpp/src/tests/consume.cpp b/cpp/src/tests/consume.cpp index cb7886f6a0..6d2f0a7413 100644 --- a/cpp/src/tests/consume.cpp +++ b/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. -- cgit v1.2.1