Command Bus
Dispatches the incoming commands to the corresponding handler.
Types
Functions
Link copied to clipboard
Obtains the instance of DeadMessageHandler for this bus.
Link copied to clipboard
Passes the given envelope for dispatching.
Link copied to clipboard
Initializes the immediateRejectionObserver with the passed EventBus.
Link copied to clipboard
Link copied to clipboard
Creates a new Builder for the
CommandBus
.Link copied to clipboard
protected StreamObserver<Ack> prepareObserver(Iterable<Command> commands, StreamObserver<Ack> source)
Prepares the given to post messages into this bus.
Link copied to clipboard
Obtains the view
Set
of commands that are known to this CommandBus
.Link copied to clipboard
protected Iterable<BusFilter<CommandEnvelope>> setupFilters(Iterable<BusFilter<CommandEnvelope>> filters)
Places a CommandReceivedTap first and a CommandScheduler last in the filter chain.
Link copied to clipboard
Packs the given message of type
T
into an envelope of type E
.Link copied to clipboard
Obtains the instance of EnvelopeValidator for this bus.
Inherited functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Called after the dispatching of the signal to all of the target dispatchers has been completed.
Link copied to clipboard
Called before the dispatching of the signal with the passed ID is started.
Link copied to clipboard
Unregisters dispatching for message classes of the passed dispatcher.