Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16627

camel-core - Add common header for source timestamp

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.11.0
    • camel-core
    • None
    • Unknown

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: