U
- type of incremental updatepublic interface SubscriptionQueryUpdateMessage<U> extends ResultMessage<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 . |
exceptionDetails, exceptionResult, isExceptional, optionalExceptionResult, serializeExceptionResult, serializePayload
getIdentifier, getMetaData, getPayload, getPayloadType, serializeMetaData
SubscriptionQueryUpdateMessage<U> withMetaData(@Nonnull 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>
withMetaData
in interface ResultMessage<U>
metaData
- The new MetaData for the MessageSubscriptionQueryUpdateMessage<U> andMetaData(@Nonnull Map<String,?> metaData)
Message
metaData
. The payload remains
unchanged.andMetaData
in interface Message<U>
andMetaData
in interface ResultMessage<U>
metaData
- The MetaData to merge withCopyright © 2010–2023. All rights reserved.