Event Envelope
public final class EventEnvelope extends AbstractMessageEnvelope<I, T, C> implements SignalEnvelope<I, T, C>, EnrichableMessageEnvelope<I, T, M, C, E>
The holder of an Event which provides convenient access to its properties.
Functions
Link copied to clipboard
Verifies if the enrichment of the message is enabled.
Link copied to clipboard
Returns
true is the wrapped event is external, false otherwise.Link copied to clipboard
Returns
true if the wrapped event is a rejection, false otherwise.Link copied to clipboard
Obtains the class of the event.
Link copied to clipboard
Obtains the type of the event message.
Link copied to clipboard
Creates instance for the passed event.
Link copied to clipboard
Obtains the class of the origin message if available.
Link copied to clipboard
Creates a copy with the envelope adding enrichments to the context of the message.