Robbie Gemmell created ACTIVEMQ6-57:
---------------------------------------
Summary: the 'to' field of AMQP messages gets cleared within the
broker
Key: ACTIVEMQ6-57
URL: https://issues.apache.org/jira/browse/ACTIVEMQ6-57
Project: Apache ActiveMQ 6
Issue Type: Bug
Affects Versions: 6.0.0
Reporter: Robbie Gemmell
When sending and receiving AMQP messages, the 'to' field of the Properties
section (which is meant to be immutable) is cleared as the message transits
through the broker.
The encoding on the wire of a message Properties section as it was sent to the
broker:
{noformat}
<small-descriptor code="0x0:0x73"/> # properties
<list8 size="79" count="10"> # properties
<str8-utf8 size="51"> # message-id
"localhost.localdomai"
"n-54104-141838672362"
"2-0:1:1:1-1"
</str8-utf8>
<null/> # user-id
<str8-utf8 size="7"> # to
"myQueue"
</str8-utf8>
<null/> # subject
<null/> # reply-to
<null/> # correlation-id
<null/> # content-type
<null/> # content-encoding
<null/> # absolute-expiry-time
<time t="1418386724423"/>#2014/12/12 12:18:44.423 # creation-time
# <null/> group-id
# <null/> group-sequence
# <null/> reply-to-group-id
</list8>
{noformat}
The encoding on the wire on its way to a consumer:
{noformat}
<small-descriptor code="0x0:0x73"/> # properties
<list8 size="19" count="10"> # properties
<null/> # message-id
<null/> # user-id
<null/> # to
<null/> # subject
<null/> # reply-to
<null/> # correlation-id
<null/> # content-type
<null/> # content-encoding
<null/> # absolute-expiry-time
<time t="1418386724423"/>#2014/12/12 12:18:44.423 # creation-time
# <null/> group-id
# <null/> group-sequence
# <null/> reply-to-group-id
</list8>
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)