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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.16.5, 2.17.5, 2.18.2, 2.19.0
    • Fix Version/s: 2.17.7, 2.18.4, 2.19.0
    • Component/s: camel-spring-boot
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: