You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Domenico Francesco Bruscino (Jira)" <ji...@apache.org> on 2021/02/01 08:55:00 UTC

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

Domenico Francesco Bruscino created ARTEMIS-3091:
----------------------------------------------------

             Summary: 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


"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)