You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Saurabh Rai (JIRA)" <ji...@apache.org> on 2017/12/11 03:54:00 UTC

[jira] [Created] (ARTEMIS-1551) Conversion of most of the properties is not working when crossing protocols.

Saurabh Rai created ARTEMIS-1551:
------------------------------------

             Summary: Conversion of most of the properties is not working when crossing protocols.
                 Key: ARTEMIS-1551
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1551
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: AMQP, OpenWire
    Affects Versions: 2.4.0, 2.3.0
         Environment: Artemis 2.3.0
            Reporter: Saurabh Rai


Send a message using Openwire client 
Receive a message using AMQP client.
Observe most of the fields like 'group-id', 'group-sequence', 'reply-to-group-id', 'content-type', 'content-encoding' are not getting converted properly.


{code:java}

$ java -jar aoc-downstream-ga-5.11.0.redhat-630187.jar sender --timeout 5000 --log-msgs dict --broker tcp://localhost:61616 --address saurabhTest --count 1 --conn-username admin --conn-password admin --msg-user-id tester --msg-group-id g1 --msg-group-seq 10 --msg-content-type application/text --msg-reply-to-group-id g1
{'durable': True, 'priority': 4, 'ttl': 0, 'first-acquirer': False, 'delivery-count': 0, 'redelivered': False, 'id': 'ID:sarai.pnq.csb-44142-1512964029323-1:1:1:1:1', 'user_id':'tester', 'address': 'queue://saurabhTest', 'subject': None, 'reply_to': None, 'correlation_id': None, 'content_type': 'application/text', 'content_encoding': None, 'absolute-expiry-time': 0, 'creation-time': 1512964029569, 'group-id': 'g1', 'group-sequence': 10, 'reply-to-group-id': 'g1', 'properties': {'JMS_AMQP_ContentType': 'application/text', 'JMS_AMQP_ReplyToGroupID': 'g1', 'JMSXUserID': 'tester', 'JMSXGroupSequence': '10', 'JMSXGroupID': 'g1', 'JMSXGroupSeq': 0}, 'content': None, 'type': None}

{code}


{code:java}
$ java -jar aac-staging-0.21.0.redhat-1.jar receiver --timeout 5 --log-msgs dict --broker localhost:5672 --address saurabhTest --count 1 --conn-username admin --conn-password admin
Unsupported object type org.apache.qpid.proton.amqp.Binary \x00\x00\x00\x01\x00\x0aJMSXUserID\x09\x00\x06tester
Unsupported object type org.apache.qpid.proton.amqp.Binary \x00\x00\x005n\x02\xae\x02{\x00(ID:sarai.pnq.csb-33773-1512712171740-1:1\x00\x01\x00\x01\x00\x01
Unsupported object type org.apache.qpid.proton.amqp.Binary \x00\x00\x001{\x01+\x00(ID:sarai.pnq.csb-33773-1512712171740-1:1\x00\x01\x00\x01
{'durable': True, 'priority': 4, 'ttl': 0, 'first-acquirer': False, 'delivery-count': 0, 'redelivered': False, 'id': None, 'user_id': 'tester', 'address': 'saurabhTest', 'subject': None, 'reply_to': None, 'correlation_id': None, 'content_type': None, 'content_encoding': None, 'absolute-expiry-time': 0, 'creation-time': 1512712172006, 'group-id': None, 'group-sequence': 0, 'reply-to-group-id': None, 'properties': {'__HDR_COMMAND_ID': 5, 'JMSXDeliveryCount': 1, '__HDR_ARRIVAL': 0, '__HDR_GROUP_ID': 'g1', 'JMSXUserID': 'tester', '__HDR_MARSHALL_PROP': \x00\x00\x00\x01\x00\x0aJMSXUserID\x09\x00\x06tester, '__HDR_MESSAGE_ID': \x00\x00\x005n\x02\xae\x02{\x00(ID:sarai.pnq.csb-33773-1512712171740-1:1\x00\x01\x00\x01\x00\x01, '__HDR_GROUP_SEQUENCE': 0, '__HDR_PRODUCER_ID': \x00\x00\x001{\x01+\x00(ID:sarai.pnq.csb-33773-1512712171740-1:1\x00\x01\x00\x01, '__HDR_DROPPABLE': False, '__HDR_BROKER_IN_TIME': 1512712172007}, 'content': None}
{code}





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)