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

camel-core - Lookup bean if value is Supplier then lazy eval

    XMLWordPrintableJSON

Details

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

    Description

      It may be desirable to bind a bean that is lazy evaluated via a Supplier, so you can bind a bean that is lambda based.

      context.bind("foo", () ->

      { ... something that returns a bean ... }

      );

      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: