Dispatch Outcomes
A utility for working with DispatchOutcome instances.
Functions
Link copied to clipboard
public static DispatchOutcome maybeSentToInbox<I>(SignalEnvelope<? extends Object, ? extends Object, ? extends Object> signal, Optional<I> entityId)
Returns an outcome, which tells that the passed signal was intended to be sent to the inbox of the entity with the passed ID.
Link copied to clipboard
Returns an outcome signifying that the given event has been published to a remote channel, most likely, to another Bounded Context.
Link copied to clipboard
Returns an outcome, which tells that the passed event was sent to several inboxes of entities with the passed identifiers.
public static DispatchOutcome sentToInbox<I>(SignalEnvelope<? extends Object, ? extends Object, ? extends Object> signal, I entityId)
Returns an outcome, which tells that the passed signal was sent to the inbox of the entity with the passed ID.
Link copied to clipboard
Returns an outcome, which tells about a successful dispatching of the message with the passed ID.
Returns an outcome, which tells about a successful dispatching of the passed command envelope.
Returns an outcome, which tells about a successful dispatching of the passed event envelope.