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/05 18:05:00 UTC
[jira] [Resolved] (CAMEL-16575) camel-core - Lookup bean if value
is Supplier then lazy eval
[ https://issues.apache.org/jira/browse/CAMEL-16575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-16575.
---------------------------------
Resolution: Fixed
> 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
> Priority: Major
> 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)