|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of payload contained in this Messagepublic interface EventMessage<T>
Represents a Message wrapping an Event, which is represented by its payload. An Event is a representation of an occurrence of an event (i.e. anything that happened any might be of importance to any other component) in the application. It contains the data relevant for components that need to act based on that event.
DomainEventMessage| Method Summary | |
|---|---|
EventMessage<T> |
andMetaData(Map<String,?> metaData)
Returns a copy of this EventMessage with it MetaData merged with the given metaData. |
String |
getIdentifier()
Returns the identifier of this event. |
org.joda.time.DateTime |
getTimestamp()
Returns the timestamp of this event. |
EventMessage<T> |
withMetaData(Map<String,?> metaData)
Returns a copy of this EventMessage with the given metaData. |
| Methods inherited from interface org.axonframework.domain.Message |
|---|
getMetaData, getPayload, getPayloadType |
| Method Detail |
|---|
String getIdentifier()
getIdentifier in interface Message<T>org.joda.time.DateTime getTimestamp()
EventMessage<T> withMetaData(Map<String,?> metaData)
metaData. The payload, Timestamp and Identifier remain unchanged.
withMetaData in interface Message<T>metaData - The new MetaData for the Message
EventMessage<T> andMetaData(Map<String,?> metaData)
metaData. The payload,
Timestamp and Identifier remain unchanged.
andMetaData in interface Message<T>metaData - The MetaData to merge with
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||