You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/12/14 13:56:00 UTC

[jira] [Commented] (ARTEMIS-3570) additional decoding of some known message header fields

    [ https://issues.apache.org/jira/browse/ARTEMIS-3570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17459171#comment-17459171 ] 

ASF subversion and git services commented on ARTEMIS-3570:
----------------------------------------------------------

Commit 51fd26a22c2182be589dc07f028a5ebe4d29202c in activemq-artemis's branch refs/heads/main from Erwin Dondorp
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=51fd26a ]

ARTEMIS-3570 also decode _AMQ_Binding_Type


> additional decoding of some known message header fields
> -------------------------------------------------------
>
>                 Key: ARTEMIS-3570
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3570
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Web Console
>    Affects Versions: 2.19.0
>            Reporter: Erwin Dondorp
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In the "Browse Queue" screen for a single message, the headers and properties are shown. Some of these entries have internal values that become much clearer when they are decoded.
> * {{_AMQ_Binding_Type}} (visible on notification queues) with its values "{{local-queue}}", "{{remote-queue}}" and "{{divert}}"; and
> * {{_AMQ_ROUTING_TYPE}} with its values "{{multicast}}" and "{{anycast}}"; and
> * {{_AMQ_ORIG_Routing_Type}} same for expired message; and
> * {{_AMQ_NotifTimestamp}} as timestamp; and
> * {{extraProperties._AMQ_ACTUAL_EXPIRY}} as timestamp; and
> * {{messageAnnotations.x-opt-ACTUAL-EXPIRY}} as timestamp; and
> * {{properties.creationTime}} as timestamp.
> Some of these properties are only visible on expired messages (so usually on the {{ExpiryQueue}}).
> There might be more such fields, but these are encountered in my situation.
> Also added verification so that for any field decoding, when the field is not numeric, the decoding is not performed. previously only a check for {{NaN}} existed.
> Note that {{extraProperties._AMQ_ACTUAL_EXPIRY}} currently is a string and is therefore not actually decoded.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)