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

spring-boot - routes not loaded when setting a management.port

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.20.0
    • Fix Version/s: 2.20.0
    • Component/s: camel-spring-boot
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      This is a really weird bug. If you set:

      management.port=8081
      

      On the application.properties file of any spring-boot application using actuator, then camel routes created through RouteBuilders are not loaded ("Total 0 routes, of which 0 are started.").

      I've found it in (all) the fabric8 basic quickstarts, but it happens also in the "camel-example-spring-boot" bundled with Apache Camel. Everything works in 2.19.x.

      Setting a different management port is a best practice.

      Zoran Regvart, Claus Ibsen, Luca Burgazzoli any idea?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zregvart Zoran Regvart
                Reporter:
                nferraro Nicola Ferraro
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: