[ 
https://issues.apache.org/jira/browse/ARTEMIS-3510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erwin Dondorp updated ARTEMIS-3510:
-----------------------------------
    Description: 
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.

  was:
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.


> 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
>            Priority: Minor
>
> 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)

Reply via email to