summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2008-12-17 21:26:55 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2008-12-17 21:26:55 +0000
commitc146f7f3af6ecac234498102e97175927347bd71 (patch)
treef202d3ceee5d631c32db27cdda9a38ca2c149e65 /cpp/src/qpid/client
parent27c83f981b62cbff3aa4d5910acca4e0c68ec165 (diff)
downloadqpid-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')
-rw-r--r--cpp/src/qpid/client/QueueOptions.cpp6
-rw-r--r--cpp/src/qpid/client/QueueOptions.h4
2 files changed, 5 insertions, 5 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();
}
diff --git a/cpp/src/qpid/client/QueueOptions.h b/cpp/src/qpid/client/QueueOptions.h
index c6cb071714..114e1e49c2 100644
--- a/cpp/src/qpid/client/QueueOptions.h
+++ b/cpp/src/qpid/client/QueueOptions.h
@@ -27,7 +27,7 @@ namespace qpid {
namespace client {
enum QueueSizePolicy {NONE, REJECT, FLOW_TO_DISK, RING, RING_STRICT};
-enum QueueOrderingPolicy {FIFO, LVQ, LVQ_NO_ACQUIRE};
+enum QueueOrderingPolicy {FIFO, LVQ, LVQ_NO_BROWSE};
/**
* A help class to set options on the Queue. Create a configured args while
@@ -94,7 +94,7 @@ class QueueOptions: public framing::FieldTable
static const std::string strLastValueQueue;
static const std::string strPersistLastNode;
static const std::string strLVQMatchProperty;
- static const std::string strLastValueQueueNoAcquire;
+ static const std::string strLastValueQueueNoBrowse;
};
}