Class CloudEventHeaders

java.lang.Object
org.springframework.integration.cloudevents.CloudEventHeaders

public final class CloudEventHeaders extends Object
Pre-defined header names to be used for setting and/or retrieving CloudEvent attributes to/from a Message.
Since:
7.1
Author:
Glenn Renfro, Artem Bilan
  • Field Details

    • PREFIX

      public static final String PREFIX
      The prefix used for CloudEvent attribute headers.

      Value: "ce-"

      See Also:
    • EVENT_ID

      public static final String EVENT_ID
      Header name for the CloudEvent id attribute.

      The unique identifier for the CloudEvent.

      Value: "ce-id"

      See Also:
    • EVENT_TIME

      public static final String EVENT_TIME
      Header name for the CloudEvent time attribute.

      The timestamp of when the occurrence happened.

      Value: "ce-time"

      See Also:
    • EVENT_SOURCE

      public static final String EVENT_SOURCE
      Header name for the CloudEvent source attribute.

      Identify the context in which an event happened.

      Value: "ce-source"

      See Also:
    • EVENT_DATA_CONTENT_TYPE

      public static final String EVENT_DATA_CONTENT_TYPE
      Header name for the CloudEvent datacontenttype attribute.

      The content type of the CloudEvent data value.

      Value: "ce-datacontenttype"

      See Also:
    • EVENT_SUBJECT

      public static final String EVENT_SUBJECT
      Header name for the CloudEvent subject attribute.

      Describe the subject of the event in the context of the event producer.

      Value: "ce-subject"

      See Also:
    • EVENT_DATA_SCHEMA

      public static final String EVENT_DATA_SCHEMA
      Header name for the CloudEvent dataschema attribute.

      Identify the schema that the data adheres to.

      Value: "ce-dataschema"

      See Also:
    • EVENT_TYPE

      public static final String EVENT_TYPE
      Header name for the CloudEvent type attribute.

      Describe the type of event related to the originating occurrence.

      Value: "ce-type"

      See Also: