diff options
author | Alan Conway <aconway@apache.org> | 2008-05-06 17:52:03 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-05-06 17:52:03 +0000 |
commit | 8d8a9162f7ba5a99a7c8b8b57aae860ab3028078 (patch) | |
tree | aa17b9f56448a5280e13441a7b0473dd5faee283 /cpp/src/tests/QueueTest.cpp | |
parent | e4a3049c22b36171d204a8f84ddbcbf5accf797f (diff) | |
download | qpid-python-8d8a9162f7ba5a99a7c8b8b57aae860ab3028078.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/qpid@653854 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/QueueTest.cpp')
-rw-r--r-- | cpp/src/tests/QueueTest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |