You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/05/04 12:50:00 UTC
[jira] [Created] (CAMEL-16575) camel-core - Lookup bean if value is
Supplier then lazy eval
Claus Ibsen created CAMEL-16575:
-----------------------------------
Summary: camel-core - Lookup bean if value is Supplier then lazy eval
Key: CAMEL-16575
URL: https://issues.apache.org/jira/browse/CAMEL-16575
Project: Camel
Issue Type: Improvement
Components: camel-core
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 3.10.0
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 ... });
--
This message was sent by Atlassian Jira
(v8.3.4#803005)