This is an automated email from the ASF dual-hosted git repository. orudyy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git The following commit(s) were added to refs/heads/master by this push: new b84bfe7 QPID-8275: [Broker-J][WMC] Add UI to set queue exclusivity b84bfe7 is described below commit b84bfe722194dd317d4c8dd7df65df1e15b7128b Author: Alex Rudyy AuthorDate: Sun Feb 24 14:04:21 2019 +0000 QPID-8275: [Broker-J][WMC] Add UI to set queue exclusivity --- .../src/main/java/resources/addQueue.html | 28 ++++++++++++++++++++-- .../java/resources/js/qpid/management/addQueue.js | 6 ++++- 2 files changed, 31 insertions(+), 3 deletions(-) diff --git a/broker-plugins/management-http/src/main/java/resources/addQueue.html b/broker-plugins/management-http/src/main/java/resources/addQueue.html index 168158c..21296c9 100644 --- a/broker-plugins/management-http/src/main/java/resources/addQueue.html +++ b/broker-plugins/management-http/src/main/java/resources/addQueue.html @@ -284,7 +284,7 @@
- Other Settings + Dead Lettering
Maximum Delivery Retries:
@@ -314,7 +314,11 @@
Configuring maximum delivery retries on a queue which has no alternate binding (DLQ or exchange) will result in messages being discarded after the limit is reached.
- +
+
+
+
+ Message Grouping
Message Group Type:
@@ -341,6 +345,26 @@ trim: true"/>
+
+
+
+
+ Other Settings + +
+
Exclusivity:
+
+ +
+
+
+
Hold on Publish Enabled?
diff --git a/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addQueue.js b/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addQueue.js index 337c94d..7e72242 100644 --- a/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addQueue.js +++ b/broker-plugins/management-http/src/main/java/resources/js/qpid/management/addQueue.js @@ -93,6 +93,7 @@ define(["dojo/dom", this.context = registry.byId("formAddQueue.context"); this.overflowPolicyWidget = registry.byId("formAddQueue.overflowPolicy"); this.messageGroupTypeWidget = registry.byId("formAddQueue.messageGroupType"); + this.exclusivityWidget = registry.byId("formAddQueue.exclusive"); this.editNodeBanner = dom.byId("addQueue.editNoteBanner"); @@ -226,7 +227,10 @@ define(["dojo/dom", var validGroupingValueStore = util.makeTypeStore(validGroupingValues); this.messageGroupTypeWidget.set("store", validGroupingValueStore); - + var exclusivityOptions = this.management.metadata.getMetaData("Queue", + this.initialData.type).attributes.exclusive.validValues; + var exclusivityOptionStore = util.makeTypeStore(exclusivityOptions); + this.exclusivityWidget.set("store", exclusivityOptionStore); util.applyToWidgets(this.form.domNode, "Queue", this.initialData.type, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org