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 | 7689c1266e8f0950cd76e45fb6560a33f2a3dd6a (patch) | |
| tree | 9a5bfaa339d7576594edbf90e314e19f0807b18c /cpp/examples/messaging/drain.cpp | |
| parent | 407dc0d5053e5301d998d532bf893888fa44b769 (diff) | |
| download | qpid-python-7689c1266e8f0950cd76e45fb6560a33f2a3dd6a.tar.gz | |
QPID-664: renamed headers as properties (to match python); added priority
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928878 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/messaging/drain.cpp')
| -rw-r--r-- | cpp/examples/messaging/drain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/messaging/drain.cpp b/cpp/examples/messaging/drain.cpp index 05e6f23642..a2bb1c9d3a 100644 --- a/cpp/examples/messaging/drain.cpp +++ b/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 { |
