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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: