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

Nicolas Filotto resolved CAMEL-18731.
-------------------------------------
    Resolution: Fixed

> camel-core - Languages should have a way to set result type / and input from 
> header instead of body
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-18731
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18731
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Nicolas Filotto
>            Priority: Major
>             Fix For: 3.20.0
>
>
> Some of the languages have
>     @XmlAttribute(name = "resultType")
>     private String resultTypeName;
>     @XmlTransient
>     private Class<?> resultType;
>     @XmlAttribute
>     @Metadata(label = "advanced")
>     private String headerName;
>     @Metadata(label = "advanced")
>     private String propertyName;
> We need to have this for more languages (all but not)
> - header
> - exchange property
> So we could maybe have a class that extends ExpressionDefinition and then 
> have the above options which other languages can extend to make it reuable 
> and consistent.
> This then also requires to update
> - reifier
> - builder



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to