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/03/15 06:25:00 UTC

[jira] [Commented] (CAMEL-17796) camel-core - SPI annotations for message headers to include in/out direction

    [ https://issues.apache.org/jira/browse/CAMEL-17796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17506721#comment-17506721 ] 

Claus Ibsen commented on CAMEL-17796:
-------------------------------------

[~essobedo] some more work on the message headers SPI.

> camel-core - SPI annotations for message headers to include in/out direction
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-17796
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17796
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.16.0
>
>
> Message headers can be used as input, output or both. (Maybe need a better term)
> Input means input to a producer.
> And output means output from a consumer.
> For example the FILE_NAME header is both input and output, as input its used to control what name to write the file as. And as output its the actual file name the consumer has read.
> The timer component only has output headers, eg the fired time and so on.
> It would be good to have a way to mark this in the annotation and also generate that information in the json file, so we know and have it available for tooling and the website documentation.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)