[
https://issues.apache.org/jira/browse/CAMEL-19945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-19945.
---------------------------------
Resolution: Fixed
> camel-core - Add bean as property placeholder function
> ------------------------------------------------------
>
> Key: CAMEL-19945
> URL: https://issues.apache.org/jira/browse/CAMEL-19945
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 4.2.0
>
>
> So you can invoke a method on a bean to return a value to use as a property
> placeholder.
> Something ala
> from("kafka:{{bean:topicService.system}}")
> .to("...")
> This will lookup a bean with id topicService and invoke the system method
> (cannot take parameters as there is no exchange). The returned value is then
> used in the uri.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)