From commits-return-47830-archive-asf-public=cust-asf.ponee.io@qpid.apache.org Sun Feb 24 14:38:24 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8DE75180654 for ; Sun, 24 Feb 2019 15:38:23 +0100 (CET) Received: (qmail 54266 invoked by uid 500); 24 Feb 2019 14:38:22 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 54255 invoked by uid 99); 24 Feb 2019 14:38:22 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Feb 2019 14:38:22 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id CFDE482E8A; Sun, 24 Feb 2019 14:38:21 +0000 (UTC) Date: Sun, 24 Feb 2019 14:38:21 +0000 To: "commits@qpid.apache.org" Subject: [qpid-broker-j] branch 7.1.x updated: QPID-8275: [Broker-J][WMC] Add UI to set queue exclusivity MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <155101910173.24104.2949197658948697334@gitbox.apache.org> From: orudyy@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: qpid-broker-j X-Git-Refname: refs/heads/7.1.x X-Git-Reftype: branch X-Git-Oldrev: dd1034cd656668129da03c4497a28053fd380471 X-Git-Newrev: febf8eb9f32d93801684d7266c768ca9815885a9 X-Git-Rev: febf8eb9f32d93801684d7266c768ca9815885a9 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. orudyy pushed a commit to branch 7.1.x in repository https://gitbox.apache.org/repos/asf/qpid-broker-j.git The following commit(s) were added to refs/heads/7.1.x by this push: new febf8eb QPID-8275: [Broker-J][WMC] Add UI to set queue exclusivity febf8eb is described below commit febf8eb9f32d93801684d7266c768ca9815885a9 Author: Alex Rudyy AuthorDate: Sun Feb 24 14:04:21 2019 +0000 QPID-8275: [Broker-J][WMC] Add UI to set queue exclusivity (cherry picked from commit b84bfe722194dd317d4c8dd7df65df1e15b7128b) --- .../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