summaryrefslogtreecommitdiff
path: root/cpp/src/tests/QueueTest.cpp
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2012-10-18 13:37:42 +0000
committerKim van der Riet <kpvdr@apache.org>2012-10-18 13:37:42 +0000
commit172d9b2a16cfb817bbe632d050acba7e31401cd2 (patch)
tree7c5dd5ccba8734a455f20bccaae1cb80a5483b91 /cpp/src/tests/QueueTest.cpp
parentc095a631dcb2c7be5e167ed50f658f7c24330a45 (diff)
downloadqpid-python-172d9b2a16cfb817bbe632d050acba7e31401cd2.tar.gz
WIP - async store interface working for configuration (adding and removing queues, links and exchanges) and for enqueues and dequeues of messages. Transactions are not yet included, and hence some tests will fail.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1399662 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/QueueTest.cpp')
-rw-r--r--cpp/src/tests/QueueTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/tests/QueueTest.cpp b/cpp/src/tests/QueueTest.cpp
index 7b7c653029..d86c18c38d 100644
--- a/cpp/src/tests/QueueTest.cpp
+++ b/cpp/src/tests/QueueTest.cpp
@@ -100,15 +100,15 @@ QPID_AUTO_TEST_CASE(testBound){
ExchangeRegistry exchanges;
//establish bindings from exchange->queue and notify the queue as it is bound:
Exchange::shared_ptr exchange1 = exchanges.declare("my-exchange-1", "direct").first;
- exchange1->bind(queue, key, &args);
+ exchange1->bind(queue, key, &args, 0);
queue->bound(exchange1->getName(), key, args);
Exchange::shared_ptr exchange2 = exchanges.declare("my-exchange-2", "fanout").first;
- exchange2->bind(queue, key, &args);
+ exchange2->bind(queue, key, &args, 0);
queue->bound(exchange2->getName(), key, args);
Exchange::shared_ptr exchange3 = exchanges.declare("my-exchange-3", "topic").first;
- exchange3->bind(queue, key, &args);
+ exchange3->bind(queue, key, &args, 0);
queue->bound(exchange3->getName(), key, args);
//delete one of the exchanges: