diff options
author | Kim van der Riet <kpvdr@apache.org> | 2007-11-08 20:18:07 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2007-11-08 20:18:07 +0000 |
commit | 4fc571434abe0c44016a2c1f0eab9f347221cbbe (patch) | |
tree | 6ba337dd1252763fefb34bc47ead4051d00ab38a | |
parent | d9ba9eae91290581b62f67239300897a96827e83 (diff) | |
download | qpid-python-4fc571434abe0c44016a2c1f0eab9f347221cbbe.tar.gz |
Added persistence to queue declaration when --durable option is defined on the command line.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593289 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/src/tests/perftest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/perftest.cpp b/cpp/src/tests/perftest.cpp index d9316527bc..4db90fd7be 100644 --- a/cpp/src/tests/perftest.cpp +++ b/cpp/src/tests/perftest.cpp @@ -79,7 +79,7 @@ void setup() { session.queueDeclare(arg::queue="control"); // Control queue session.queuePurge(arg::queue="control"); if (mode==SHARED) { - session.queueDeclare(arg::queue="perftest"); // Shared data queue + session.queueDeclare(arg::queue="perftest", arg::durable=opts.durable); // Shared data queue session.queuePurge(arg::queue="perftest"); } session.close(); |