successfulOutcome

public static DispatchOutcome successfulOutcome(MessageId messageId)

Returns an outcome, which tells about a successful dispatching of the message with the passed ID.

Parameters

messageId

identifier of the message


public static DispatchOutcome successfulOutcome(EventEnvelope event)

Returns an outcome, which tells about a successful dispatching of the passed event envelope.

Parameters

event

envelope of the event which was successfully dispatched


public static DispatchOutcome successfulOutcome(CommandEnvelope command)

Returns an outcome, which tells about a successful dispatching of the passed command envelope.

Parameters

command

envelope of the command which was successfully dispatched