T - the type of payload contained in the messagepublic interface ResetContext<T> extends Message<T>
T can be provided to
support the reset operation handling this message.| Modifier and Type | Method and Description |
|---|---|
ResetContext<T> |
andMetaData(Map<String,?> metaData)
Returns a copy of this
ResetContext with it MetaData merged with the given metaData. |
ResetContext<T> |
withMetaData(Map<String,?> metaData)
Returns a copy of this
ResetContext with the given metaData. |
getIdentifier, getMetaData, getPayload, getPayloadType, serializeMetaData, serializePayloadResetContext<T> withMetaData(@Nonnull Map<String,?> metaData)
ResetContext with the given metaData. The payload remains unchanged.
While the implementation returned may be different than the implementation of this, implementations must
take special care in returning the same type of Message (e.g. EventMessage, DomainEventMessage) to prevent errors
further downstream.withMetaData in interface Message<T>metaData - the new MetaData for the MessageResetContext<T> andMetaData(@Nonnull Map<String,?> metaData)
ResetContext with it MetaData merged with the given metaData. The payload
remains unchanged.andMetaData in interface Message<T>metaData - the MetaData to merge withCopyright © 2010–2025. All rights reserved.