activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saurabh Rai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1498) [interop] Openwire internal headers should not be part of message properties
Date Thu, 30 Nov 2017 11:25:00 GMT

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

Saurabh Rai commented on ARTEMIS-1498:
--------------------------------------

Hi, 
I tested the same but did not receive the headers that you mentioned. I tested this on Artemis
2.3.0.
Following was the output:

_$ java  -jar aoc-downstream-ga-5.11.0.redhat-630187.jar sender  --timeout 5 --log-msgs interop
--broker tcp://localhost:61616 --address QName --count 1  --conn-username admin --conn-password
admin
{'durable': True, 'priority': 4, 'ttl': 0, 'first-acquirer': False, 'delivery-count': 0, 'id':
'pnq.lb-44789-1512040681855-1:1:1:1:1', 'user-id':None, 'address': 'saurabhTest', 'subject':
None, 'reply-to': None, 'correlation-id': None, 'content-type': None, 'content-encoding':
None, 'absolute-expiry-time': 0, 'creation-time': 1512040682121, 'group-id': None, 'group-sequence':
0, 'reply-to-group-id': None, 'properties': {}, 'content': None, 'type': None}_

_$ java  -jar aac-staging-0.21.0.redhat-1.jar receiver  --timeout 5 --log-msgs interop --broker
localhost:5672 --address QName --count 1  --conn-username admin --conn-password admin
{'durable': True, 'priority': 4, 'ttl': 0, 'first-acquirer': False, 'delivery-count': 0, 'id':
None, 'user-id': None, 'address': 'QName', 'subject': None, 'reply-to': None, 'correlation-id':
None, 'content-type': None, 'content-encoding': None, 'absolute-expiry-time': 0, 'creation-time':
1512040682121, 'group-id': None, 'group-sequence': 0, 'reply-to-group-id': None, 'properties':
{'JMSXDeliveryCount': 1, }, 'content': None}_

> [interop] Openwire internal headers should not be part of message properties
> ----------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1498
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1498
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: OpenWire
>         Environment: interoperability between Openwire -> AMQP/Core
>            Reporter: Michal Toth
>            Priority: Minor
>
> Sending an empty message from Openwire JMS client to AMQP or Core receiver client shows
extra "internal" headers (__HDR_*) in message properties. 
> They should not be there, as these are internal for broker in my opinion.
> Openwire sender
> {noformat}
> $ java  -jar /var/dtests/node_data/clients/aoc7.jar sender  --timeout 5 --log-msgs interop
--broker tcp://localhost:61616 --address queue_name_\$ --count 1  --conn-username admin --conn-password
admin
> {'durable': True, 'priority': 4, 'ttl': 0, 'first-acquirer': False, 'delivery-count':
0, 'id': 'dhcp-145-96.lab.eng.brq.redhat.com-33646-1509702974536-1:1:1:1:1', 'user-id':None,
'address': 'queue_name_$', 'subject': None, 'reply-to': None, 'correlation-id': None, 'content-type':
None, 'content-encoding': None, 'absolute-expiry-time': 0, 'creation-time': 1509702974798,
'group-id': None, 'group-sequence': 0, 'reply-to-group-id': None, 'properties': {}, 'content':
None, 'type': None}
> {noformat}
> AMQP/Core receiver
> {noformat}
> $ java  -jar /var/dtests/node_data/clients/aac1.jar receiver  --timeout 5 --log-msgs
interop --broker localhost:5672 --address queue_name_\$ --count 1  --conn-username admin --conn-password
admin
> Unsupported object type org.apache.qpid.proton.amqp.Binary \x00\x00\x00Jn\x02\xae\x02{\x00=ID:dhcp-145-96.lab.eng.brq.redhat.com-33646-1509702974536-1:1\x00\x01\x00\x01\x00\x01
> Unsupported object type org.apache.qpid.proton.amqp.Binary \x00\x00\x00F{\x01+\x00=ID:dhcp-145-96.lab.eng.brq.redhat.com-33646-1509702974536-1:1\x00\x01\x00\x01
> {'durable': True, 'priority': 4, 'ttl': 0, 'first-acquirer': False, 'delivery-count':
0, 'id': None, 'user-id': None, 'address': 'queue_name_$', 'subject': None, 'reply-to': None,
'correlation-id': None, 'content-type': None, 'content-encoding': None, 'absolute-expiry-time':
0, 'creation-time': 1509702974798, 'group-id': None, 'group-sequence': 0, 'reply-to-group-id':
None, 'properties': {'__HDR_COMMAND_ID': 5, 'JMSXDeliveryCount': 1, '__HDR_ARRIVAL': 0, '__HDR_MESSAGE_ID':
\x00\x00\x00Jn\x02\xae\x02{\x00=ID:dhcp-145-96.lab.eng.brq.redhat.com-33646-1509702974536-1:1\x00\x01\x00\x01\x00\x01,
'__HDR_GROUP_SEQUENCE': 0, '__HDR_PRODUCER_ID': \x00\x00\x00F{\x01+\x00=ID:dhcp-145-96.lab.eng.brq.redhat.com-33646-1509702974536-1:1\x00\x01\x00\x01,
'__HDR_DROPPABLE': False, '__HDR_BROKER_IN_TIME': 1509702974800}, 'content': None}
> {noformat}



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

Mime
View raw message