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 2022/11/19 16:44:00 UTC
[jira] [Created] (CAMEL-18731) camel-core - Languages should have a way to set result type / and output to header instead of body
Claus Ibsen created CAMEL-18731:
-----------------------------------
Summary: camel-core - Languages should have a way to set result type / and output to 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
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)