You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Erwin Dondorp (Jira)" <ji...@apache.org> on 2021/10/01 07:54:00 UTC

[jira] [Created] (ARTEMIS-3510) explain magic values in properties in browse view

Erwin Dondorp created ARTEMIS-3510:
--------------------------------------

             Summary: explain magic values in properties in browse view
                 Key: ARTEMIS-3510
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3510
             Project: ActiveMQ Artemis
          Issue Type: Improvement
          Components: Web Console
    Affects Versions: 2.18.0
            Reporter: Erwin Dondorp


When "Show" is performed on an AMQP message in the "Message Browser", the properties table shows a integer property `JMS_AMQP_ORIGINAL_ENCODING`. Its value is an encoding.

The matching PR adds the enhanced view for this field.

A new formatting function `formatAmqpEncoding` is introduced in the same style as existing function `formatType`. Again, no effort has been made to detect trivial cases. e.g. messages of encoding "27" will (likely) show "JMS_AMQP_ORIGINAL_ENCODING: 27 (27)". Always the raw value is shown plus the enhanced value as additional text.

I did not see any other property/ies that deserves a similar treatment. When there still are, tell me and I'll supply formatters for these as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)