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

resilience4j doesn't catch configuration from spring boot

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Configuring the resilience4j component with spring boot like in the example https://github.com/apache/camel-spring-boot/blob/master/examples/camel-example-spring-boot-resilience4j/client/src/main/java/sample/camel/ClientRoute.java doesn't work correctly.

      .circuitBreaker() 
      // see application.properties how resilience is configured 
      .to("http://localhost:9090/service1")
      

       

      The configuration in application.properties is not taken into account.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              cgiera Christoph Giera
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: