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 2020/01/09 19:18:00 UTC
[jira] [Resolved] (CAMEL-14383) camel-core - Bean language add
support for declaring type explicit
[ https://issues.apache.org/jira/browse/CAMEL-14383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-14383.
---------------------------------
Resolution: Fixed
> camel-core - Bean language add support for declaring type explicit
> ------------------------------------------------------------------
>
> Key: CAMEL-14383
> URL: https://issues.apache.org/jira/browse/CAMEL-14383
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.1.0
>
>
> So when you use bean language from simple, then you can refer to a FQN class name by its type class name.
> For example
> {code}
> .setBody().simple("The host is ${bean:type:org.apache.camel.util.InetAddressUtil?method=getLocalHostNameSafe}")
> {code}
> You can now use ${bean:type:xxx}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)