public enum DefaultHeaderAttr extends java.lang.Enum<DefaultHeaderAttr> implements HeaderAttr
| Enum Constant and Description |
|---|
MSG_ARRIVAL_TS
The header attribute containing the Kinesis
Record#approximateArrivalTimestamp()
to which the message has arrived in Kinesis. |
MSG_ID
Unique identifier of the message.
|
MSG_RECEIVER_TS
The timestamp to which the message was received by a
MessageReceiverEndpoint. |
MSG_SENDER
The sender of the message.
|
MSG_SENDER_TS
The timestamp to which the message was sent.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
key() |
static DefaultHeaderAttr |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultHeaderAttr[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final DefaultHeaderAttr MSG_ID
The attribute key is synapse_msg_id
public static final DefaultHeaderAttr MSG_SENDER
Using the DefaultSenderHeadersInterceptor, the attribute's value
is configured using SynapseProperties.Sender#getName() and defaults to the value of
property spring.application.name.
The attribute key is synapse_msg_sender
public static final DefaultHeaderAttr MSG_ARRIVAL_TS
Record#approximateArrivalTimestamp()
to which the message has arrived in Kinesis. Other channel implementations may use this attribute for similar
timestamps, as long as the semantics of the property is the met.
The attribute key is synapse_msg_arrival_ts
public static final DefaultHeaderAttr MSG_SENDER_TS
The attribute key is synapse_msg_sender_ts
public static final DefaultHeaderAttr MSG_RECEIVER_TS
MessageReceiverEndpoint.
The attribute key is synapse_msg_receiver_ts
public static DefaultHeaderAttr[] values()
for (DefaultHeaderAttr c : DefaultHeaderAttr.values()) System.out.println(c);
public static DefaultHeaderAttr valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String key()
key in interface HeaderAttr