Uses of Package
dk.cloudcreate.essentials.reactive.command
-
Packages that use dk.cloudcreate.essentials.reactive.command Package Description dk.cloudcreate.essentials.reactive.command dk.cloudcreate.essentials.reactive.command.interceptor -
Classes in dk.cloudcreate.essentials.reactive.command used by dk.cloudcreate.essentials.reactive.command Class Description AbstractCommandBus Base implementation of theCommandBus- provides default implementation for all operations except forCommandBus.sendAndDontWait(Object)/CommandBus.sendAndDontWait(Object, Duration)CommandBus TheCommandBusprovides an indirection between a command and theCommandHandlerthat's capable of handling the command.
Commands can be sent synchronously usingCommandBus.send(Object)or asynchronously usingCommandBus.sendAsync(Object)that returns aMono.
The handling of a command usually doesn't return any value (according to the principles of CQRS), however theLocalCommandBusAPI allows aCommandHandlerto return a value if needed (e.g.CommandHandler Common interface for all Command message handlers
A command handler can choose support to 1 or more command typesSendAndDontWaitErrorHandler Exception handler that will handle errors that occur duringCommandBus.sendAndDontWait(Object)/CommandBus.sendAndDontWait(Object, Duration)SendCommandException -
Classes in dk.cloudcreate.essentials.reactive.command used by dk.cloudcreate.essentials.reactive.command.interceptor Class Description CommandHandler Common interface for all Command message handlers
A command handler can choose support to 1 or more command types