Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 21217 invoked from network); 29 Jun 2009 07:04:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Jun 2009 07:04:20 -0000 Received: (qmail 69097 invoked by uid 500); 29 Jun 2009 07:04:31 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 69035 invoked by uid 500); 29 Jun 2009 07:04:31 -0000 Mailing-List: contact dev-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 dev@camel.apache.org Received: (qmail 69025 invoked by uid 500); 29 Jun 2009 07:04:31 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 69022 invoked by uid 99); 29 Jun 2009 07:04:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2009 07:04:31 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2009 07:04:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 12F92234C04C for ; Mon, 29 Jun 2009 00:04:07 -0700 (PDT) Message-ID: <960121574.1246259047073.JavaMail.jira@brutus> Date: Mon, 29 Jun 2009 00:04:07 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-1689) JMS-Headers are ignored in Producer In-Reply-To: <1248311273.1244562695320.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52531#action_52531 ] Claus Ibsen commented on CAMEL-1689: ------------------------------------ Added unit test for starters: 789236. > JMS-Headers are ignored in Producer > ----------------------------------- > > Key: CAMEL-1689 > URL: https://issues.apache.org/activemq/browse/CAMEL-1689 > Project: Apache Camel > Issue Type: Bug > Components: camel-jms > Affects Versions: 2.0-M1 > Reporter: Siegfried Wirth > Assignee: Claus Ibsen > Fix For: 2.1.0 > > > Camel jms producer ignores some JMSHeaders. For example the header JMSPriority is ignored - due to the comment in the code, because it is set by the producer. But it should not only be set by the produer due to the received message, it should also be possible to set a priority using the JMSPriority header on the consumer. (See also the option preserveMessageQos on the jms endpoint - if every JMSHeader is ignored by the producer it is impossible to set Qos-Properties on the message.) > The reason for the bug is in org.apache.camel.component.jms.JmsBinding#appendJmsProperty. > The follwoing JMS message headers are useful for sending messages and therefore should be copied to the jms message: > - JMSDestination > - JMSDeliveryMode > - JMSExpiration > - JMSPriority > - JMSMessageID > - JMSTimestamp -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.