Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.13.1
-
Novice
Description
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;