Claus Ibsen created CAMEL-16627:
-----------------------------------

             Summary: 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
             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)

Reply via email to