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 2021/06/09 11:38:00 UTC
[jira] [Resolved] (CAMEL-16627) camel-core - Add common header for
source timestamp
[ https://issues.apache.org/jira/browse/CAMEL-16627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-16627.
---------------------------------
Resolution: Fixed
> camel-core - Add common header for source timestamp
> ---------------------------------------------------
>
> Key: CAMEL-16627
> URL: https://issues.apache.org/jira/browse/CAMEL-16627
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.11.0
>
>
> Some component consumers have message headers with a timestamp when a message arrived to the source (JMSTimestamp, file modified date, S3 modified date, kafka timestamp and others).
> We do not have a common header / api to retrieve that information across the components.
> It would be good to have that with
> 1)
> common header name and Exchange constant for the key
> 2)
> API on message to get timestamp
> long getSourceTimestamp()
> The timestamp or 0 if not possible to get this information, or -1 if the component does not have such information.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)