You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2014/08/27 07:55:58 UTC

[jira] [Commented] (CAMEL-7552) RabbitMQ Component: property to allow declare or not queue and exchange.

    [ https://issues.apache.org/jira/browse/CAMEL-7552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111902#comment-14111902 ] 

Willem Jiang commented on CAMEL-7552:
-------------------------------------

Applied the patch in camel master branch with thanks to Ramon.
I also updated the wiki page for this new option.

> 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.2#6252)