Package org.axonframework.queryhandling
Interface SubscriptionQueryUpdateMessage<U>
- Type Parameters:
U- type of incremental update
- All Superinterfaces:
Message<U>,ResultMessage<U>,Serializable
- All Known Implementing Classes:
GenericSubscriptionQueryUpdateMessage
Message which holds incremental update of an subscription query.
- Since:
- 3.3
- Author:
- Milan Savic
-
Method Summary
Modifier and TypeMethodDescriptionandMetaData(Map<String, ?> metaData) Returns a copy of this Message with it MetaData merged with the givenmetaData.withMetaData(Map<String, ?> metaData) Returns a copy of this Message with the givenmetaData.Methods inherited from interface org.axonframework.messaging.Message
getIdentifier, getMetaData, getPayload, getPayloadType, serializeMetaDataMethods inherited from interface org.axonframework.messaging.ResultMessage
exceptionDetails, exceptionResult, isExceptional, optionalExceptionResult, serializeExceptionResult, serializePayload
-
Method Details
-
withMetaData
Description copied from interface:MessageReturns a copy of this Message with the givenmetaData. The payload remains unchanged. While the implementation returned may be different than the implementation ofthis, implementations must take special care in returning the same type of Message (e.g. EventMessage, DomainEventMessage) to prevent errors further downstream.- Specified by:
withMetaDatain interfaceMessage<U>- Specified by:
withMetaDatain interfaceResultMessage<U>- Parameters:
metaData- The new MetaData for the Message- Returns:
- a copy of this message with the given MetaData
-
andMetaData
Description copied from interface:MessageReturns a copy of this Message with it MetaData merged with the givenmetaData. The payload remains unchanged.- Specified by:
andMetaDatain interfaceMessage<U>- Specified by:
andMetaDatain interfaceResultMessage<U>- Parameters:
metaData- The MetaData to merge with- Returns:
- a copy of this message with the given MetaData
-