This commit is contained in:
Clebert Suconic 2020-12-07 10:29:34 -05:00
commit 12cd10a43c
1 changed files with 4 additions and 4 deletions

View File

@ -194,8 +194,8 @@ var Artemis;
Artemis.log.debug("loading table" + artemisExpiryQueue); Artemis.log.debug("loading table" + artemisExpiryQueue);
if (objName) { if (objName) {
ctrl.dlq = false; ctrl.dlq = false;
var queueName = jolokia.getAttribute(objName, "Name"); var addressName = jolokia.getAttribute(objName, "Address");
if (queueName == artemisDLQ || queueName == artemisExpiryQueue) { if (addressName == artemisDLQ || addressName == artemisExpiryQueue) {
ctrl.dlq = true; ctrl.dlq = true;
} }
} }
@ -682,11 +682,11 @@ var Artemis;
} }
if (objName) { if (objName) {
ctrl.dlq = false; ctrl.dlq = false;
var queueName = jolokia.getAttribute(objName, "Name"); var addressName = jolokia.getAttribute(objName, "Address");
var artemisDLQ = localStorage['artemisDLQ'] || "DLQ"; var artemisDLQ = localStorage['artemisDLQ'] || "DLQ";
var artemisExpiryQueue = localStorage['artemisExpiryQueue'] || "ExpiryQueue"; var artemisExpiryQueue = localStorage['artemisExpiryQueue'] || "ExpiryQueue";
Artemis.log.debug("loading table" + artemisExpiryQueue); Artemis.log.debug("loading table" + artemisExpiryQueue);
if (queueName == artemisDLQ || queueName == artemisExpiryQueue) { if (addressName == artemisDLQ || addressName == artemisExpiryQueue) {
onDlq(true); onDlq(true);
} else { } else {
onDlq(false); onDlq(false);