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/02/01 16:55:00 UTC

[jira] [Commented] (ARTEMIS-3091) Artemis CLI cannot export AMQP message headers from the journal

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

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

Commit 267c6e5b5662c5a9e001ff58caa2435ff3ac2fb0 in activemq-artemis's branch refs/heads/master from Domenico Francesco Bruscino
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=267c6e5 ]

ARTEMIS-3091 Fix AMQP message headers export from the journal


> Artemis CLI cannot export AMQP message headers from the journal
> ---------------------------------------------------------------
>
>                 Key: ARTEMIS-3091
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3091
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Domenico Francesco Bruscino
>            Assignee: Domenico Francesco Bruscino
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> "data exp" ignore most of the message properties and attributes that instead are available with "consumer -data".
> - "data exp" output
> {code:xml}
>       <message id="2863" priority="4" expiration="0" timestamp="0" type="text">
>          <properties>
>             <property name="_AMQ_ROUTING_TYPE" value="1" type="byte"/>
>             <property name="JMS_AMQP_ORIGINAL_ENCODING" value="5" type="short"/>
>             <property name="_AMQ_ORIG_QUEUE" value="test" type="simple-string"/>
>             <property name="_AMQ_ORIG_ADDRESS" value="test::test" type="simple-string"/>
>             <property name="_AMQ_ORIG_MESSAGE_ID" value="2849" type="long"/>
>          </properties>
>          <queues>
>             <queue name="DLQ"/>
>          </queues>
>          <body>
>             <![CDATA[AQAAABh0AGUAcwB0ACAAbQBlAHMAcwBhAGcAZQA=]]>
>          </body>
>       </message>
> {code}
> - "consumer -data"
> {code:xml}
>  
> <message id="2863" priority="4" expiration="0" timestamp="1611845865326" type="text" user-id="88ebdd34-617c-11eb-92b2-a4c3f095b4ec">
>   <properties>
>     <property name="JMS_AMQP_MA_x-opt-ORIG-MESSAGE-ID" value="2849" type="long"/>
>     <property name="JMS_AMQP_MA_x-opt-ORIG-QUEUE" value="test" type="simple-string"/>
>     <property name="JMS_AMQP_MA_x-opt-jms-dest" value="0" type="byte"/>
>     <property name="_AMQ_ROUTING_TYPE" value="1" type="byte"/>
>     <property name="JMS_AMQP_ORIGINAL_ENCODING" value="5" type="short"/>
>     <property name="JMS_AMQP_MA_x-opt-ORIG-ADDRESS" value="test::test" type="simple-string"/>
>     <property name="testHeaderProperty" value="test header property value" type="simple-string"/>
>     <property name="JMS_AMQP_HEADERDURABLE" value="true" type="boolean"/>
>     <property name="_AMQ_ORIG_MESSAGE_ID" value="2849" type="long"/>
>     <property name="JMS_AMQP_MA_x-opt-jms-msg-type" value="5" type="byte"/>
>     <property name="NATIVE_MESSAGE_ID" value="ID:4b8a9e3b-5d78-434a-972c-4502c31a34c7:1:2:1-1" type="simple-string"/>
>     <property name="breadcrumbId" value="ID-agagliar-remote-csb-1611845862983-0-1" type="simple-string"/>
>     <property name="_AMQ_ORIG_QUEUE" value="test" type="simple-string"/>
>     <property name="JMS_AMQP_HEADER" value="true" type="boolean"/>
>     <property name="firedTime" value="Thu Jan 28 15:57:45 CET 2021" type="simple-string"/>
>     <property name="_AMQ_ORIG_ADDRESS" value="test::test" type="simple-string"/>
>   </properties>
>   <body><![CDATA[test message]]></body>
> </message>
> {code}



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