U
- type of incremental updatepublic interface SubscriptionQueryUpdateMessage<U> extends Message<U>
Modifier and Type | Method and Description |
---|---|
SubscriptionQueryUpdateMessage<U> |
andMetaData(Map<String,?> metaData)
Returns a copy of this Message with it MetaData merged with the given
metaData . |
SubscriptionQueryUpdateMessage<U> |
withMetaData(Map<String,?> metaData)
Returns a copy of this Message with the given
metaData . |
getIdentifier, getMetaData, getPayload, getPayloadType, serializeMetaData, serializePayload
SubscriptionQueryUpdateMessage<U> withMetaData(Map<String,?> metaData)
Message
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<U>
metaData
- The new MetaData for the MessageSubscriptionQueryUpdateMessage<U> andMetaData(Map<String,?> metaData)
Message
metaData
. The payload
remains unchanged.andMetaData
in interface Message<U>
metaData
- The MetaData to merge withCopyright © 2010–2020. All rights reserved.