Uses of Package
dk.cloudcreate.essentials.reactive.command
-
Packages that use dk.cloudcreate.essentials.reactive.command Package Description dk.cloudcreate.essentials.reactive.command -
Classes in dk.cloudcreate.essentials.reactive.command used by dk.cloudcreate.essentials.reactive.command Class Description CommandHandler Common interface for all Command message handlers
A command handler can choose support to 1 or more command typesLocalCommandBus TheLocalCommandBusprovides an indirection between a command and theCommandHandlerthat's capable of handling the command.
Commands can be sent synchronously usingLocalCommandBus.send(Object)or asynchronously usingLocalCommandBus.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.SendCommandException