Ramon Rosa da Silva created CAMEL-7552:
------------------------------------------

             Summary: 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
             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)

Reply via email to