From 8d8a9162f7ba5a99a7c8b8b57aae860ab3028078 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 6 May 2008 17:52:03 +0000 Subject: From https://issues.apache.org/jira/browse/QPID-879 contributed by Jonathan Robie. XML exchange allowing messages to be routed base on XQuery expressions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653854 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/QueueTest.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/src/tests/QueueTest.cpp') diff --git a/cpp/src/tests/QueueTest.cpp b/cpp/src/tests/QueueTest.cpp index aec59a58bc..9abf863ad4 100644 --- a/cpp/src/tests/QueueTest.cpp +++ b/cpp/src/tests/QueueTest.cpp @@ -54,11 +54,13 @@ public: class FailOnDeliver : public Deliverable { + Message msg; public: void deliverTo(Queue::shared_ptr& queue) { throw Exception(QPID_MSG("Invalid delivery to " << queue->getName())); } + Message& getMessage() { return msg; } }; class QueueTest : public CppUnit::TestCase -- cgit v1.2.1