Builder
Functions
Link copied to clipboard
public Inbox.Builder<I> addCommandEndpoint(InboxLabel label, LazyEndpoint<I, CommandEnvelope> lazyEndpoint)
Adds an endpoint for commands which will be delivered through the
Inbox
and marks it with the certain label.Link copied to clipboard
public Inbox.Builder<I> addEventEndpoint(InboxLabel label, LazyEndpoint<I, EventEnvelope> lazyEndpoint)
Adds an endpoint for events which will be delivered through the
Inbox
and marks it with the certain label.Link copied to clipboard
Allows to specify the listener of the starting and ending batch dispatching operations.