This closes #3670
This commit is contained in:
commit
a096d52d59
|
@ -39,8 +39,8 @@
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-2 control-label" for="artemisDLQ">
|
<label class="col-md-2 control-label" for="artemisDLQ">
|
||||||
The DLQ of the Broker
|
Dead-letter address regex
|
||||||
<span class="pficon pficon-info" data-toggle="tooltip" data-placement="top" title="The Dead Letter Queue of the Broker"></span>
|
<span class="pficon pficon-info" data-toggle="tooltip" data-placement="top" title="A regular expression to match one or more dead-letter addresses"></span>
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input type="text" id="artemisDLQ" ng-model="artemisDLQ">
|
<input type="text" id="artemisDLQ" ng-model="artemisDLQ">
|
||||||
|
@ -49,8 +49,8 @@
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-2 control-label" for="artemisExpiryQueue">
|
<label class="col-md-2 control-label" for="artemisExpiryQueue">
|
||||||
The Expiry of the Broker
|
Expiry address regex
|
||||||
<span class="pficon pficon-info" data-toggle="tooltip" data-placement="top" title="The Expiry Queue of the Broker"></span>
|
<span class="pficon pficon-info" data-toggle="tooltip" data-placement="top" title="A regular expression to match one or more expiry addresses"></span>
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input type="text" id="artemisExpiryQueue" ng-model="artemisExpiryQueue">
|
<input type="text" id="artemisExpiryQueue" ng-model="artemisExpiryQueue">
|
||||||
|
|
|
@ -218,13 +218,13 @@ var Artemis;
|
||||||
var node = workspace.keyToNodeMap[key];
|
var node = workspace.keyToNodeMap[key];
|
||||||
objName = node.objectName;
|
objName = node.objectName;
|
||||||
}
|
}
|
||||||
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 (objName) {
|
if (objName) {
|
||||||
ctrl.dlq = false;
|
ctrl.dlq = false;
|
||||||
var addressName = jolokia.getAttribute(objName, "Address");
|
var addressName = jolokia.getAttribute(objName, "Address");
|
||||||
if (addressName == artemisDLQ || addressName == artemisExpiryQueue) {
|
if (addressName.match(artemisDLQ) != null || addressName.match(artemisExpiryQueue) != null) {
|
||||||
ctrl.dlq = true;
|
ctrl.dlq = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -826,10 +826,10 @@ var Artemis;
|
||||||
if (objName) {
|
if (objName) {
|
||||||
ctrl.dlq = false;
|
ctrl.dlq = false;
|
||||||
var addressName = jolokia.getAttribute(objName, "Address");
|
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 (addressName == artemisDLQ || addressName == artemisExpiryQueue) {
|
if (addressName.match(artemisDLQ) != null || addressName.match(artemisExpiryQueue) != null) {
|
||||||
onDlq(true);
|
onDlq(true);
|
||||||
} else {
|
} else {
|
||||||
onDlq(false);
|
onDlq(false);
|
||||||
|
|
|
@ -26,10 +26,10 @@ var Artemis;
|
||||||
'value': userDetails.password ? userDetails.password : ""
|
'value': userDetails.password ? userDetails.password : ""
|
||||||
},
|
},
|
||||||
'artemisDLQ': {
|
'artemisDLQ': {
|
||||||
'value': "DLQ"
|
'value': "^DLQ$"
|
||||||
},
|
},
|
||||||
'artemisExpiryQueue': {
|
'artemisExpiryQueue': {
|
||||||
'value': "ExpiryQueue"
|
'value': "^ExpiryQueue$"
|
||||||
},
|
},
|
||||||
'ArtemisBrowseBytesMessages': {
|
'ArtemisBrowseBytesMessages': {
|
||||||
'value': 99,
|
'value': 99,
|
||||||
|
@ -71,8 +71,8 @@ var Artemis;
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-2 control-label" for="artemisDLQ">
|
<label class="col-md-2 control-label" for="artemisDLQ">
|
||||||
The DLQ of the Broker
|
Dead-letter address regex
|
||||||
<span class="pficon pficon-info" data-toggle="tooltip" data-placement="top" title="The Dead Letter Queue of the Broker"></span>
|
<span class="pficon pficon-info" data-toggle="tooltip" data-placement="top" title="A regular expression to match one or more dead-letter addresses"></span>
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input type="text" id="artemisDLQ" ng-model="artemisDLQ">
|
<input type="text" id="artemisDLQ" ng-model="artemisDLQ">
|
||||||
|
@ -81,8 +81,8 @@ var Artemis;
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-md-2 control-label" for="artemisExpiryQueue">
|
<label class="col-md-2 control-label" for="artemisExpiryQueue">
|
||||||
The Expiry of the Broker
|
Expiry address regex
|
||||||
<span class="pficon pficon-info" data-toggle="tooltip" data-placement="top" title="The Expiry Queue of the Broker"></span>
|
<span class="pficon pficon-info" data-toggle="tooltip" data-placement="top" title="A regular expression to match one or more expiry addresses"></span>
|
||||||
</label>
|
</label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input type="text" id="artemisExpiryQueue" ng-model="artemisExpiryQueue">
|
<input type="text" id="artemisExpiryQueue" ng-model="artemisExpiryQueue">
|
||||||
|
|
Loading…
Reference in New Issue