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 8CAFA200D4F for ; Wed, 6 Dec 2017 21:02:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8B091160BF3; Wed, 6 Dec 2017 20:02:05 +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 D1576160C1D for ; Wed, 6 Dec 2017 21:02:04 +0100 (CET) Received: (qmail 61545 invoked by uid 500); 6 Dec 2017 20:02:03 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 61534 invoked by uid 99); 6 Dec 2017 20:02:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2017 20:02:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C0886180640 for ; Wed, 6 Dec 2017 20:02:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id BnjijpCIo3rq for ; Wed, 6 Dec 2017 20:02:01 +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 2733C5F216 for ; Wed, 6 Dec 2017 20:02:01 +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 6FA17E0AA3 for ; Wed, 6 Dec 2017 20:02:00 +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 26357255C5 for ; Wed, 6 Dec 2017 20:02:00 +0000 (UTC) Date: Wed, 6 Dec 2017 20:02:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-12069) ActiveMQ/JMS component: transferExchange option does not transfer exchange properties MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 06 Dec 2017 20:02:05 -0000 [ https://issues.apache.org/jira/browse/CAMEL-12069?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D162= 80809#comment-16280809 ]=20 ASF GitHub Bot commented on CAMEL-12069: ---------------------------------------- PascalSchumacher opened a new pull request #2139: CAMEL-12069: ActiveMQ/JMS= component: transferExchange option does not=E2=80=A6 URL: https://github.com/apache/camel/pull/2139 =20 =20 =E2=80=A6 transfer exchange properties =20 TransferExchange now includes exchange properties again. This restores t= he previous behavior accidentally broken by 5dd59162e4ac9335e497934b8d662f5= 98cb779d1. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. =20 For queries about this service, please contact Infrastructure at: users@infra.apache.org > ActiveMQ/JMS component: transferExchange option does not transfer exchang= e properties > -------------------------------------------------------------------------= ------------ > > Key: CAMEL-12069 > URL: https://issues.apache.org/jira/browse/CAMEL-12069 > Project: Camel > Issue Type: Bug > Components: camel-activemq, camel-jms > Affects Versions: 2.20.1 > Reporter: Pascal Schumacher > > The ActiveMQ/JMS component documenation generated from the _JMSComponent#= setTransferExchange_ javadoc states: > {quote} > You can transfer the exchange over the wire instead of just the body and = headers.=20 > The following fields are transferred: In body, Out body, Fault body, In h= eaders, Out headers, Fault headers, exchange properties, exchange exception= . > {quote} > But exchange properties are *not* transfered. > I debuged into this and noticed that _JMSBinding#createJmsMessage_ calls = _DefaultExchangeHolder.marshal(exchange, false, endpoint.isAllowSerializedH= eaders())_ when _transferExchange_ is _true_. The _false_ parameter is the = reason that the exchange properties are not included in the JMS message. > This should either be fixed or the documentation should be updated. -- This message was sent by Atlassian JIRA (v6.4.14#64029)