Interface TaggedEventMessage<E extends EventMessage>
- Type Parameters:
E- The type ofEventMessageprovided by this interface.
- All Known Implementing Classes:
GenericTaggedEventMessage
public interface TaggedEventMessage<E extends EventMessage>
A wrapper of an
EventMessage and its Tags.
Tags typically refer to the name and value of the identifiers of the model(s) that led to the publication of
the contained event.
- Since:
- 5.0.0
- Author:
- Allard Buijze, Michal Negacz, Milan Savić, Marco Amann, Sara Pellegrini, Steven van Beelen
-
Method Details
-
event
E event()- Returns:
EventMessageof generic typeEcarried by thisTaggedEventMessage.
-
tags
-
updateTags
Construct a newTaggedEventMessageusing the givenupdaterto adjust thetags()of the newTaggedEventMessage.
-