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 21C761069C for ; Tue, 26 Nov 2013 05:04:43 +0000 (UTC) Received: (qmail 63025 invoked by uid 500); 26 Nov 2013 05:04:41 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 62801 invoked by uid 500); 26 Nov 2013 05:04:40 -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 62712 invoked by uid 99); 26 Nov 2013 05:04:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Nov 2013 05:04:40 +0000 Date: Tue, 26 Nov 2013 05:04:39 +0000 (UTC) From: "Willem Jiang (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CAMEL-6809) rabbitmq.EXCHANGE_NAME header used in preference to uri exchange name 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-6809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Jiang reassigned CAMEL-6809: ----------------------------------- Assignee: Willem Jiang > rabbitmq.EXCHANGE_NAME header used in preference to uri exchange name > --------------------------------------------------------------------- > > Key: CAMEL-6809 > URL: https://issues.apache.org/jira/browse/CAMEL-6809 > Project: Camel > Issue Type: Improvement > Components: camel-rabbitmq > Affects Versions: 2.12.0 > Reporter: Fergus Nelson > Assignee: Willem Jiang > > RabbitMQProducer.process method uses the existing rabbitmq.EXCHANGE_NAME header in preference to the exchange name that is part of the endpoint uri. This means that when consuming off one exchange and producing onto another, the rabbitmq.EXCHANGE_NAME needs to be explicitally removed, otherwise the messages will not be sent to the exchange name defined in the destinition uri. > The exchange name is a required part of the endpoint uri. > http://camel.apache.org/rabbitmq.html, so would it be better to ignore the header completely in the RabbitMQProducer? At least then the messages would go where you were expecting them to. > Happy to submit a pull request on Github if that helps. -- This message was sent by Atlassian JIRA (v6.1#6144)