activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-57) the 'to' field of AMQP messages gets cleared within the broker
Date Fri, 17 Mar 2017 19:10:41 GMT

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

ASF subversion and git services commented on ARTEMIS-57:
--------------------------------------------------------

Commit 780f9bdc342ae8972d083b1497fafc73cafd12bc in activemq-artemis's branch refs/heads/master
from [~tabish121]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=780f9bd ]

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
>            Assignee: Timothy Bish
>             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)

Mime
View raw message