You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2021/09/09 20:27:59 UTC
[activemq-artemis] branch main updated: ARTEMIS-3469 additionally
show readable versions of expiration/timestamp
This is an automated email from the ASF dual-hosted git repository.
jbertram pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 366ab50 ARTEMIS-3469 additionally show readable versions of expiration/timestamp
new 57156ba This closes #3734
366ab50 is described below
commit 366ab504acb328b430d46c80067f5ef53f72e14e
Author: Erwin Dondorp <er...@cgi.com>
AuthorDate: Thu Sep 9 16:42:25 2021 +0200
ARTEMIS-3469 additionally show readable versions of expiration/timestamp
---
.../artemis-plugin/src/main/webapp/plugin/js/components/browse.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/browse.js b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/browse.js
index dfdc66e..ea416be 100644
--- a/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/browse.js
+++ b/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/browse.js
@@ -790,6 +790,11 @@ var Artemis;
var headers = [];
angular.forEach(message, function (value, key) {
if (!_.some(ignoreColumns, function (k) { return k === key; }) && !_.some(flattenColumns, function (k) { return k === key; })) {
+ if(key === "expiration") {
+ value += " (" + formatExpires(value) + ")";
+ } else if(key === "timestamp") {
+ value += " (" + formatTimestamp(value) + ")";
+ }
headers.push({key: key, value: value});
}
});