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

Erwin Dondorp updated ARTEMIS-3556:
-----------------------------------
    Description: 
When browsing messages in the Artemis Console, the page does not show the 
message protocol. Expert users could derive that information from the available 
message keys, but there is no formal indication of the message protocol.

I have prepared a PR that shows the message protocol in the "Headers" table 
when viewing message details. The new field is "protocol".

For each message type, the well-know protocol code is shown.

The following class diagram shows which protocols may be shown (please ignore 
the interfaces and abstract classes):
!image-2021-11-05-23-07-36-340.png!
my guess is that only AMQP(Standard/Large)Message, OpenwireMessage and 
CoreMessage can occur during normal use.
other protocol types are technically possible, these will show their java class 
name.

since the protocol is technically not a property of the message, there are 
valid arguments for showing this differently. but this is by far the simplest 
visualization.

sample:
 !screenshot-2.png!

  was:
When browsing messages in the Artemis Console, the page does not show the 
message protocol. Expert users could derive that information from the available 
message keys, but there is no formal indication of the message protocol.

I have prepared a PR that shows the message protocol in the "Headers" table 
when viewing message details. The new field is "protocol".

Instead of providing a descriptive text for each protocol, I kept it simple and 
used just the (short) java class name.

The following class diagram shows which protocols may be shown (please ignore 
the interfaces and abstract classes):
!image-2021-11-05-23-07-36-340.png!
my guess is that only AMQPStandardMessage, AMQPLargeMessage, OpenwireMessage 
and CoreMessage can occur during normal use.

since the protocol is technically not a property of the message, there are 
valid arguments for showing this differently. but this is by far the simplest 
visualization.

sample:
 !screenshot-2.png!


> Artemis console should show the message protocol
> ------------------------------------------------
>
>                 Key: ARTEMIS-3556
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3556
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Web Console
>    Affects Versions: 2.20.0
>            Reporter: Erwin Dondorp
>            Priority: Minor
>         Attachments: image-2021-11-05-23-07-36-340.png, screenshot-2.png
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> When browsing messages in the Artemis Console, the page does not show the 
> message protocol. Expert users could derive that information from the 
> available message keys, but there is no formal indication of the message 
> protocol.
> I have prepared a PR that shows the message protocol in the "Headers" table 
> when viewing message details. The new field is "protocol".
> For each message type, the well-know protocol code is shown.
> The following class diagram shows which protocols may be shown (please ignore 
> the interfaces and abstract classes):
> !image-2021-11-05-23-07-36-340.png!
> my guess is that only AMQP(Standard/Large)Message, OpenwireMessage and 
> CoreMessage can occur during normal use.
> other protocol types are technically possible, these will show their java 
> class name.
> since the protocol is technically not a property of the message, there are 
> valid arguments for showing this differently. but this is by far the simplest 
> visualization.
> sample:
>  !screenshot-2.png!



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

Reply via email to