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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.20.0
    • 2.20.0
    • camel-spring-boot
    • None
    • 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.

      zregvart, cibsen@e-ma.net, lb any idea?

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: