diff options
| author | Gordon Sim <gsim@apache.org> | 2010-03-29 19:21:26 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-03-29 19:21:26 +0000 |
| commit | beb68a5d1b8d74f4c53299c81911a3ad85011f17 (patch) | |
| tree | 2d444776e69aed493d522d3efb90990570f42f0d /qpid/cpp/examples/messaging/drain.cpp | |
| parent | 3d990371a345d1760cebd7dc0e47365034cfe2d4 (diff) | |
| download | qpid-python-beb68a5d1b8d74f4c53299c81911a3ad85011f17.tar.gz | |
QPID-664: renamed headers as properties (to match python); added priority
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@928878 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/messaging/drain.cpp')
| -rw-r--r-- | qpid/cpp/examples/messaging/drain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/examples/messaging/drain.cpp b/qpid/cpp/examples/messaging/drain.cpp index 05e6f23642..a2bb1c9d3a 100644 --- a/qpid/cpp/examples/messaging/drain.cpp +++ b/qpid/cpp/examples/messaging/drain.cpp @@ -102,7 +102,7 @@ int main(int argc, char** argv) Duration timeout = options.getTimeout(); Message message; while (receiver.fetch(message, timeout)) { - std::cout << "Message(properties=" << message.getHeaders() << ", content='" ; + std::cout << "Message(properties=" << message.getProperties() << ", content='" ; if (message.getContentType() == "amqp/map") { std::cout << MapView(message); } else { |
