Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7552

RabbitMQ Component: property to allow declare or not queue and exchange.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.13.1
    • 2.14.0
    • camel-rabbitmq
    • 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;

      Attachments

        Activity

          People

            njiang Willem Jiang
            neoramon Ramon Rosa da Silva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: