diff options
| author | Gordon Sim <gsim@apache.org> | 2010-06-25 17:25:46 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-06-25 17:25:46 +0000 |
| commit | c3a6e87c3f21009135b5826de6917586477e0589 (patch) | |
| tree | b351c0d8a301b6eb7a90d1a586479f2d428ce9f5 /cpp/src/tests/MessagingFixture.h | |
| parent | e9920e89d298dbcc5cd01d0c79616353eb750c43 (diff) | |
| download | qpid-python-c3a6e87c3f21009135b5826de6917586477e0589.tar.gz | |
QPID-2698: recognise special property names for amqp 0-10 specific message- and delivery- properties
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958044 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/MessagingFixture.h')
| -rw-r--r-- | cpp/src/tests/MessagingFixture.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/tests/MessagingFixture.h b/cpp/src/tests/MessagingFixture.h index 5546b4ef49..c8ae86dbc3 100644 --- a/cpp/src/tests/MessagingFixture.h +++ b/cpp/src/tests/MessagingFixture.h @@ -79,6 +79,11 @@ struct BrokerAdmin return !result.getNotFound(); } + void send(qpid::client::Message& message, const std::string& exchange=std::string()) + { + session.messageTransfer(qpid::client::arg::destination=exchange, qpid::client::arg::content=message); + } + ~BrokerAdmin() { session.close(); |
