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 5E701116A2 for ; Sun, 7 Sep 2014 20:08:29 +0000 (UTC) Received: (qmail 52941 invoked by uid 500); 7 Sep 2014 20:08:29 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 52900 invoked by uid 500); 7 Sep 2014 20:08:29 -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 52805 invoked by uid 99); 7 Sep 2014 20:08:29 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Sep 2014 20:08:29 +0000 Date: Sun, 7 Sep 2014 20:08:29 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-7552) RabbitMQ Component: property to allow declare or not queue and exchange. 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-7552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14125039#comment-14125039 ] ASF GitHub Bot commented on CAMEL-7552: --------------------------------------- Github user neoramon closed the pull request at: https://github.com/apache/camel/pull/201 > RabbitMQ Component: property to allow declare or not queue and exchange. > ------------------------------------------------------------------------ > > Key: CAMEL-7552 > URL: https://issues.apache.org/jira/browse/CAMEL-7552 > Project: Camel > Issue Type: Improvement > Components: camel-rabbitmq > Affects Versions: 2.13.1 > Reporter: Ramon Rosa da Silva > Assignee: Willem Jiang > Labels: Camel > Fix For: 2.14.0 > > > Sometimes to consume a message from RabbitMQ the consumer doesn't konw its exchange. > And to send message to exchange, it isn't necessary set queue name, because the destination queue is defined from a routingkey, but in camel-rabbitmq when queue is blank, is generated a random uuid, and this uuid is used to declare and bind with the exchange. > I suggest that the "getEndpoint().declareExchangeAndQueue(chanel)" in Consumer and Producer can be optional. > Like: > boolean declare = true; -- This message was sent by Atlassian JIRA (v6.3.4#6332)