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

IsSingleton - API for letting Camel be able to return shared instances of eg. languages and other common resources from camel context

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0-M1
    • camel-core
    • None

    Description

      A new interface IsSingleton to let Injector be smart and return the shared instance instead of creating a new instance all the type.

      Avoids creating so many objects when running Camel.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: