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 GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/16 16:17:41 UTC
[jira] [Commented] (ARTEMIS-57) the 'to' field of AMQP messages
gets cleared within the broker
[ https://issues.apache.org/jira/browse/ARTEMIS-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928348#comment-15928348 ]
ASF GitHub Bot commented on ARTEMIS-57:
---------------------------------------
GitHub user tabish121 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1099
ARTEMIS-57 Add tests to ensure To field is not cleared
Add some tests for various cases of send / recv to check that the To
field on the message is left intact.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tabish121/activemq-artemis ARTEMIS-57
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1099.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1099
----
commit 25d4f0e8a1669c08f729ab4573e1043fac3230b6
Author: Timothy Bish <ta...@gmail.com>
Date: 2017-03-16T16:12:59Z
ARTEMIS-57 Add tests to ensure To field is not cleared
Add some tests for various cases of send / recv to check that the To
field on the message is left intact.
----
> the 'to' field of AMQP messages gets cleared within the broker
> --------------------------------------------------------------
>
> Key: ARTEMIS-57
> URL: https://issues.apache.org/jira/browse/ARTEMIS-57
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 1.0.0
> Reporter: Robbie Gemmell
> Fix For: 2.next
>
>
> 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.15#6346)