Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BD3DE17AE6 for ; Sat, 11 Jul 2015 22:19:04 +0000 (UTC) Received: (qmail 61355 invoked by uid 500); 11 Jul 2015 22:19:04 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 61304 invoked by uid 500); 11 Jul 2015 22:19:04 -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 61291 invoked by uid 99); 11 Jul 2015 22:19:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jul 2015 22:19:04 +0000 Date: Sat, 11 Jul 2015 22:19:04 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CAMEL-3785) Routing JMS messages with mapMessage=false should be optimized MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-3785. -------------------------------- Resolution: Won't Fix > Routing JMS messages with mapMessage=false should be optimized > -------------------------------------------------------------- > > Key: CAMEL-3785 > URL: https://issues.apache.org/jira/browse/CAMEL-3785 > Project: Camel > Issue Type: Improvement > Components: camel-core, camel-jms > Affects Versions: 2.7.0 > Reporter: Claus Ibsen > Fix For: 3.0.0 > > > Look at JmsLoadBalanceFailoverWithForceSendOriginalJmsMessageTest in camel-jms unit tests. > We should maybe try to look for a solution where you can just configure mapMessage=false and transferException=true on the JmsComponent configuration and then don't have to bother anything on the endpoint uri configs. > Also the code in JmsMessage should know its mapMessage=false, and thus avoid extracting headers/body from the underlying JMSMessage to optimize that. It can be a bit tricky though if a ProducerTemplate sends and wants a reply, and thus the message body should be extracted. -- This message was sent by Atlassian JIRA (v6.3.4#6332)