From c146f7f3af6ecac234498102e97175927347bd71 Mon Sep 17 00:00:00 2001 From: "Carl C. Trieloff" Date: Wed, 17 Dec 2008 21:26:55 +0000 Subject: 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 --- cpp/src/qpid/client/QueueOptions.cpp | 6 +++--- cpp/src/qpid/client/QueueOptions.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'cpp/src/qpid/client') 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; }; } -- cgit v1.2.1