summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/QueueTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-05-06 17:52:03 +0000
committerAlan Conway <aconway@apache.org>2008-05-06 17:52:03 +0000
commite1d873e3b4528141b9401bad9070bc205de40504 (patch)
treebee155f0513021a3e8cf2dc142a6ce765dfe18e4 /qpid/cpp/src/tests/QueueTest.cpp
parente6ced35fbdd3385e2a660f5b40366f0382796d01 (diff)
downloadqpid-python-e1d873e3b4528141b9401bad9070bc205de40504.tar.gz
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@653854 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/QueueTest.cpp')
-rw-r--r--qpid/cpp/src/tests/QueueTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/QueueTest.cpp b/qpid/cpp/src/tests/QueueTest.cpp
index aec59a58bc..9abf863ad4 100644
--- a/qpid/cpp/src/tests/QueueTest.cpp
+++ b/qpid/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