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

spring-rabbitmq component does not fail on sending to non-existent RabbitMQ topic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.20.1
    • 3.21.0, 4.0-M2, 4.0.0
    • camel-rabbitmq
    • None
    • Unknown

    Description

      Sending a message to non-existant RabbitMQ topic does not brake the passage through the whole Camel Route

       

      Here is a test describing such an issue

      https://github.com/anatoly-spb/spring-boot-camel-rabbitmq-bug/blob/main/src/test/java/dev/bug/spring/camel/rabbitmq/SpringBootCamelRabbitmqBugApplicationTests.java

      I expect the route with route id "process" get failed on step 
      ```
      .to("spring-rabbitmq:invalidExchange")
      ```
      because of this topic does not exist.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            bvn13 Vyacheslav Boyko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: