diff options
| author | Carl C. Trieloff <cctrieloff@apache.org> | 2008-12-17 21:26:55 +0000 |
|---|---|---|
| committer | Carl C. Trieloff <cctrieloff@apache.org> | 2008-12-17 21:26:55 +0000 |
| commit | c146f7f3af6ecac234498102e97175927347bd71 (patch) | |
| tree | f202d3ceee5d631c32db27cdda9a38ca2c149e65 /cpp/src/qpid/client/QueueOptions.cpp | |
| parent | 27c83f981b62cbff3aa4d5910acca4e0c68ec165 (diff) | |
| download | qpid-python-c146f7f3af6ecac234498102e97175927347bd71.tar.gz | |
options name re-name to be more explicit & better test
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727517 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/QueueOptions.cpp')
| -rw-r--r-- | cpp/src/qpid/client/QueueOptions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/qpid/client/QueueOptions.cpp b/cpp/src/qpid/client/QueueOptions.cpp index b360c1ab93..ac65b0bc22 100644 --- a/cpp/src/qpid/client/QueueOptions.cpp +++ b/cpp/src/qpid/client/QueueOptions.cpp @@ -38,7 +38,7 @@ const std::string QueueOptions::strRING_STRICT("ring_strict"); const std::string QueueOptions::strLastValueQueue("qpid.last_value_queue"); const std::string QueueOptions::strPersistLastNode("qpid.persist_last_node"); const std::string QueueOptions::strLVQMatchProperty("qpid.LVQ_key"); -const std::string QueueOptions::strLastValueQueueNoAcquire("qpid.last_value_queue_no_acquire"); +const std::string QueueOptions::strLastValueQueueNoBrowse("qpid.last_value_queue_no_browse"); QueueOptions::~QueueOptions() @@ -80,8 +80,8 @@ void QueueOptions::setOrdering(QueueOrderingPolicy op) { if (op == LVQ){ setInt(strLastValueQueue, 1); - }else if (op == LVQ_NO_ACQUIRE){ - setInt(strLastValueQueueNoAcquire, 1); + }else if (op == LVQ_NO_BROWSE){ + setInt(strLastValueQueueNoBrowse, 1); }else { clearOrdering(); } |
