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

Consumer/Producer templates are not stopped when auto-configured in Spring Boot

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.16.5, 2.17.5, 2.18.2, 2.19.0
    • 2.17.7, 2.18.4, 2.19.0
    • camel-spring-boot
    • None
    • Unknown

    Description

      Consumer/Producer templates created in CamelAutoConfiguration as Spring beans are, contrary to the comment on the @Bean methods, not managed by Camel, the DefaultCamelContext in createProducerTemplate and createConsumerTemplate methods starts the returned templates but does not hold references to them and thus cannot stop them on shutdown.

      Attachments

        Issue Links

          Activity

            People

              zregvart Zoran Regvart
              zregvart Zoran Regvart
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: