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

camel-core - Add init and destroy method to @BindToRegistry

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.8.0
    • camel-core
    • None
    • Unknown

    Description

      You may want to just create a class and have it automatic register with id, and then also have lifecycle methods invoked.

      We have init and destroy methods on beans created in yaml/xml DSL.

      We can also consider if the class is a Camel `org.apache.camel.Service` then it would automatic use this for init / destroy methods so users can rely on this.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: