From 0637677cf6653256b67c82dcb74f35133601220c Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Sun, 20 Apr 2008 12:10:37 +0000 Subject: QPID-920: converted c++ client to use final 0-10 protocol * connection handler converted to using invoker & proxy and updated to final method defs * SessionCore & ExecutionHandler replace by SessionImpl * simplified handling of completion & results, removed handling of responses git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649915 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/MessageTest.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cpp/src/tests/MessageTest.cpp') diff --git a/cpp/src/tests/MessageTest.cpp b/cpp/src/tests/MessageTest.cpp index a19080e1ce..d7688c74a9 100644 --- a/cpp/src/tests/MessageTest.cpp +++ b/cpp/src/tests/MessageTest.cpp @@ -21,7 +21,9 @@ #include "qpid/broker/Message.h" #include "qpid/framing/AMQP_HighestVersion.h" #include "qpid/framing/AMQFrame.h" +#include "qpid/framing/MessageTransferBody.h" #include "qpid/framing/FieldValue.h" +#include "qpid/framing/Uuid.h" #include "qpid_test_plugin.h" @@ -44,14 +46,14 @@ class MessageTest : public CppUnit::TestCase { string exchange = "MyExchange"; string routingKey = "MyRoutingKey"; - string messageId = "MyMessage"; + Uuid messageId(true); string data1("abcdefg"); string data2("hijklmn"); intrusive_ptr msg(new Message()); AMQFrame method(in_place( - ProtocolVersion(), 0, exchange, 0, 0)); + ProtocolVersion(), exchange, 0, 0)); AMQFrame header(in_place()); AMQFrame content1(in_place(data1)); AMQFrame content2(in_place(data2)); -- cgit v1.2.1