summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorJustin Ross <jross@apache.org>2015-02-11 20:43:53 +0000
committerJustin Ross <jross@apache.org>2015-02-11 20:43:53 +0000
commit91eca9e2894fcb0bb18a257c1b2b7ef7757356d1 (patch)
tree25a92be3a6b72c3baf9b07eb83b59a1159773759 /cpp
parentdf1077cc27c187c907c32303fdc33ff1969f9993 (diff)
downloadqpid-python-91eca9e2894fcb0bb18a257c1b2b7ef7757356d1.tar.gz
QPID-6347: Remove the now obsolete queue_event_generation option; this is a patch from Irina Boverman
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1659063 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/client/QueueOptions.cpp7
-rw-r--r--cpp/src/qpid/client/QueueOptions.h22
2 files changed, 0 insertions, 29 deletions
diff --git a/cpp/src/qpid/client/QueueOptions.cpp b/cpp/src/qpid/client/QueueOptions.cpp
index e589bd76cd..f7705afeb0 100644
--- a/cpp/src/qpid/client/QueueOptions.cpp
+++ b/cpp/src/qpid/client/QueueOptions.cpp
@@ -40,8 +40,6 @@ const std::string QueueOptions::strRING_STRICT("ring_strict");
const std::string QueueOptions::strLastValueQueue("qpid.last_value_queue");
const std::string QueueOptions::strLVQMatchProperty("qpid.LVQ_key");
const std::string QueueOptions::strLastValueQueueNoBrowse("qpid.last_value_queue_no_browse");
-const std::string QueueOptions::strQueueEventMode("qpid.queue_event_generation");
-
QueueOptions::~QueueOptions()
{}
@@ -101,11 +99,6 @@ void QueueOptions::clearOrdering()
erase(strLastValueQueue);
}
-void QueueOptions::enableQueueEvents(bool enqueueOnly)
-{
- setInt(strQueueEventMode, enqueueOnly ? ENQUEUE_ONLY : ENQUEUE_AND_DEQUEUE);
-}
-
}
}
diff --git a/cpp/src/qpid/client/QueueOptions.h b/cpp/src/qpid/client/QueueOptions.h
index a2f30a50b5..f7ace15ff9 100644
--- a/cpp/src/qpid/client/QueueOptions.h
+++ b/cpp/src/qpid/client/QueueOptions.h
@@ -75,28 +75,6 @@ class QPID_CLIENT_CLASS_EXTERN QueueOptions: public framing::FieldTable
*/
QPID_CLIENT_EXTERN void clearOrdering();
- /**
- * Turns on event generation for this queue (either enqueue only
- * or for enqueue and dequeue events); the events can then be
- * processed by a regsitered broker plugin.
- *
- * DEPRECATED
- *
- * This is confusing to anyone who sees only the function call
- * and not the variable name / doxygen. Consider the following call:
- *
- * options.enableQueueEvents(false);
- *
- * It looks like it disables queue events, but what it really does is
- * enable both enqueue and dequeue events.
- *
- * Use setInt() instead:
- *
- * options.setInt("qpid.queue_event_generation", 2);
- */
-
- QPID_CLIENT_EXTERN void enableQueueEvents(bool enqueueOnly);
-
static QPID_CLIENT_EXTERN const std::string strMaxCountKey;
static QPID_CLIENT_EXTERN const std::string strMaxSizeKey;
static QPID_CLIENT_EXTERN const std::string strTypeKey;