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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.13.1
    • Fix Version/s: 2.14.0
    • Component/s: camel-rabbitmq
    • Labels:
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: