Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 91A46200C49 for ; Fri, 17 Mar 2017 20:10:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 903E2160B80; Fri, 17 Mar 2017 19:10:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D9004160B70 for ; Fri, 17 Mar 2017 20:10:49 +0100 (CET) Received: (qmail 78552 invoked by uid 500); 17 Mar 2017 19:10:48 -0000 Mailing-List: contact issues-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list issues@activemq.apache.org Received: (qmail 78543 invoked by uid 99); 17 Mar 2017 19:10:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Mar 2017 19:10:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7DBB61A00A3 for ; Fri, 17 Mar 2017 19:10:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RAi_ey5SyUGM for ; Fri, 17 Mar 2017 19:10:46 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id D25AC5F297 for ; Fri, 17 Mar 2017 19:10:45 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6300BE08B9 for ; Fri, 17 Mar 2017 19:10:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id BE4D9254BB for ; Fri, 17 Mar 2017 19:10:41 +0000 (UTC) Date: Fri, 17 Mar 2017 19:10:41 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ARTEMIS-57) the 'to' field of AMQP messages gets cleared within the broker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Mar 2017 19:10:50 -0000 [ 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} > # properties > # properties > # message-id > "localhost.localdomai" > "n-54104-141838672362" > "2-0:1:1:1-1" > > # user-id > # to > "myQueue" > > # subject > # reply-to > # correlation-id > # content-type > # content-encoding > # absolute-expiry-time > > {noformat} > The encoding on the wire on its way to a consumer: > {noformat} > # properties > # properties > # message-id > # user-id > # to > # subject > # reply-to > # correlation-id > # content-type > # content-encoding > # absolute-expiry-time > > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)