Class TerminalEventMessage
java.lang.Object
org.axonframework.messaging.core.MessageDecorator
org.axonframework.messaging.eventhandling.GenericEventMessage
org.axonframework.messaging.eventhandling.TerminalEventMessage
- All Implemented Interfaces:
Message,EventMessage
Empty
EventMessage implementation without any payload, used as the
terminal message of a MessageStream. This thus signals the end of the
MessageStream.
Only useful to be paired with Context information in an event-specific
MessageStream when there is no event payload to combine it with.
- Since:
- 5.0.0
- Author:
- Steven van Beelen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TerminalEventMessageThe sole instance of theTerminalEventMessage.Fields inherited from class org.axonframework.messaging.eventhandling.GenericEventMessage
clockFields inherited from interface org.axonframework.messaging.core.Message
RESOURCE_KEY -
Method Summary
Methods inherited from class org.axonframework.messaging.eventhandling.GenericEventMessage
andMetadata, describeTo, describeType, timestamp, withConvertedPayload, withMetadataMethods inherited from class org.axonframework.messaging.core.MessageDecorator
delegate, identifier, metadata, payload, payloadAs, payloadType, toString, typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.axonframework.messaging.eventhandling.EventMessage
andMetadata, identifier, timestamp, withConvertedPayload, withConvertedPayload, withConvertedPayload, withMetadata
-
Field Details
-
INSTANCE
The sole instance of theTerminalEventMessage.
-