[ 
https://issues.apache.org/jira/browse/CAMEL-19945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-19945:
--------------------------------
    Fix Version/s: 4.2.0
                       (was: 4.x)

> 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)

Reply via email to