public abstract class Headers extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AGGREGATE_ID
Key pointing to the aggregate identifier of a message.
|
static String |
AGGREGATE_SEQ
Key pointing to the aggregate sequence of a message.
|
static String |
AGGREGATE_TYPE
Key pointing to the aggregate type of a message.
|
static String |
DEADLINE_NAME
Key pointing to the deadline name of a
DeadlineMessage . |
static String |
MESSAGE_ID
Key pointing to a message identifier.
|
static String |
MESSAGE_METADATA
Key pointing to the
MetaData of a message. |
static String |
MESSAGE_REVISION
Key pointing to the revision of a message.
|
static String |
MESSAGE_TIMESTAMP
Key pointing to the timestamp of a message.
|
static String |
MESSAGE_TYPE
Key pointing to the payload type of a message.
|
static String |
SERIALIZED_MESSAGE_PAYLOAD
Key pointing to the serialized payload of a message.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
defaultHeaders(EventMessage<?> message,
SerializedObject<?> serializedObject)
Generate defaults headers to recognise an event message.
|
String |
toString() |
public static final String MESSAGE_ID
public static final String SERIALIZED_MESSAGE_PAYLOAD
public static final String MESSAGE_TYPE
public static final String MESSAGE_REVISION
public static final String MESSAGE_TIMESTAMP
public static final String AGGREGATE_ID
public static final String AGGREGATE_SEQ
public static final String AGGREGATE_TYPE
public static final String MESSAGE_METADATA
MetaData
of a message.public static final String DEADLINE_NAME
DeadlineMessage
.public static Map<String,Object> defaultHeaders(EventMessage<?> message, SerializedObject<?> serializedObject)
message
- event message.serializedObject
- payload.Copyright © 2010–2024. All rights reserved.