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

Camel-Spring-Boot: No CamelContext defined yet so cannot inject into bean: org.apache.camel.impl.health.DefaultHealthCheckRegistry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.0
    • 3.4.3, 3.5.0
    • camel-spring-boot
    • None
    • Unknown

    Description

      Since updating from Camel 3.3.0 to Camel 3.4.0, the following warning is logged during start-up:

      WARN 15204 — [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor: No CamelContext defined yet so cannot inject into bean: org.apache.camel.impl.health.DefaultHealthCheckRegistry
      

      Otherwise everything is working fine (as far as I can tell).

      We are using Spring Boot 2.3.1.

      This may have a similar cause as https://issues.apache.org/jira/browse/CAMEL-12975 had.

      Attachments

        1. camel-warning.zip
          10 kB
          Bogdan Ilchyshyn

        Activity

          People

            davsclaus Claus Ibsen
            pascalschumacher Pascal Schumacher
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: