summaryrefslogtreecommitdiff
path: root/qpid/cpp/xml
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2011-02-10 10:12:41 +0000
committerGordon Sim <gsim@apache.org>2011-02-10 10:12:41 +0000
commit8b8d70e010a2999ad5dd1590d41eb35d8091296a (patch)
treeae91e61fba3777fe9af4fb447d6b91387cbbc8db /qpid/cpp/xml
parent071d6276042c05be0f24b8e8bce205ae49d0480a (diff)
downloadqpid-python-8b8d70e010a2999ad5dd1590d41eb35d8091296a.tar.gz
QPID-529: Priority queue implementation
QPID-2104: LVQ enhancement These both required some refactoring of the Queue class to allow cleaner implementation of different types of behaviour. The in-memory storage of messages is now abstracted out behind an interface specified by qpid::broker::Messages which qpid::broker::Queue uses. Different implementations of that are available for the standard FIFO queue, priority queues and LVQ (I have also separated out the 'legacy' implementation of LVQ from the new version driven by QPID-2104). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1069322 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/xml')
-rw-r--r--qpid/cpp/xml/cluster.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/qpid/cpp/xml/cluster.xml b/qpid/cpp/xml/cluster.xml
index 5e407a061f..be1c1f868c 100644
--- a/qpid/cpp/xml/cluster.xml
+++ b/qpid/cpp/xml/cluster.xml
@@ -275,6 +275,13 @@
<!-- Replicate encoded config objects - e.g. links and bridges. -->
<control name="config" code="0x37"><field name="encoded" type="str32"/></control>
+
+ <!-- Set the fairshare delivery related state of a replicated queue. -->
+ <control name="queue-fairshare-state" code="0x38">
+ <field name="queue" type="str8"/>
+ <field name="position" type="uint8"/>
+ <field name="count" type="uint8"/>
+ </control>
</class>
</amqp>