[
https://issues.apache.org/jira/browse/CAMEL-18731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17636599#comment-17636599
]
Nicolas Filotto commented on CAMEL-18731:
-----------------------------------------
Ok no problem, I will have a look to this ticket asap
> 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
> 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)