diff options
author | Robert Gemmell <robbie@apache.org> | 2009-07-13 10:21:19 +0000 |
---|---|---|
committer | Robert Gemmell <robbie@apache.org> | 2009-07-13 10:21:19 +0000 |
commit | 6a0ec212bc974d8ba72c851482260ccc67a09ed1 (patch) | |
tree | 55b4c49d68dbd42ecb323d5e9fcb56ca35421931 /java/management/common/src | |
parent | 4e32f0b48378f809e40a269bc1a0ee9d5cdc8f09 (diff) | |
download | qpid-python-6a0ec212bc974d8ba72c851482260ccc67a09ed1.tar.gz |
QPID-1943: expose exchange mbeans tabular/composite key values through the management interface
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793531 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/management/common/src')
-rw-r--r-- | java/management/common/src/main/java/org/apache/qpid/management/common/mbeans/ManagedExchange.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/java/management/common/src/main/java/org/apache/qpid/management/common/mbeans/ManagedExchange.java b/java/management/common/src/main/java/org/apache/qpid/management/common/mbeans/ManagedExchange.java index cb3baf6ae0..c8df64549e 100644 --- a/java/management/common/src/main/java/org/apache/qpid/management/common/mbeans/ManagedExchange.java +++ b/java/management/common/src/main/java/org/apache/qpid/management/common/mbeans/ManagedExchange.java @@ -40,6 +40,18 @@ public interface ManagedExchange { static final String TYPE = "Exchange"; static final int VERSION = 1; + + //TabularType and contained CompositeType key/description info for DIRECT/TOPIC/FANOUT exchanges. + //For compatibility reasons, DONT MODIFY the existing key values if expanding the set. + String[] COMPOSITE_ITEM_NAMES = {"Binding Key", "Queue Names"}; + String[] COMPOSITE_ITEM_DESCRIPTIONS = {"Binding Key", "Queue Names"}; + String[] TABULAR_UNIQUE_INDEX = {COMPOSITE_ITEM_NAMES[0]}; + + //TabularType and contained CompositeType key/description info for HEADERS exchange only. + //For compatibility reasons, DONT MODIFY the existing key values if expanding the set. + String[] HEADERS_COMPOSITE_ITEM_NAMES = new String[]{"Binding No", "Queue Name", "Queue Bindings"}; + String[] HEADERS_COMPOSITE_ITEM_DESC = new String[]{"Binding No", "Queue Name", "Queue Bindings"}; + String[] HEADERS_TABULAR_UNIQUE_INDEX = new String[]{HEADERS_COMPOSITE_ITEM_NAMES[0]}; /** * Returns the name of the managed exchange. |