camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7552) RabbitMQ Component: property to allow declare or not queue and exchange.
Date Wed, 27 Aug 2014 05:55:58 GMT

    [ 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)

Mime
View raw message