FailedReception

public final class FailedReception

The evidence of an InboxMessage which has failed to be handled by its receptor, such as an event or a command handler method.

End-users may choose to do one of the following:

Alternatively, end-users may choose to define their own way of reacting to reception failures by implementing a custom FailedReception.Action, and returning it via the corresponding API of DeliveryMonitor.

Types

Link copied to clipboard
public interface Action
An action to take in relation to the failed reception.

Functions

Link copied to clipboard
public Error error()
Returns the failure.
Link copied to clipboard
Returns an action which marks the message as delivered.
Link copied to clipboard
public InboxMessage message()
Returns the original InboxMessage.
Link copied to clipboard
Returns an action immediately repeats the dispatching of the message.