CQRS.NET
2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
void Cqrs.Bus.IHandlerRegistrar.RegisterHandler< TMessage > | ( | Action< TMessage > | handler, |
bool | holdMessageLock = true |
||
) |
Register an event or command handler that will listen and respond to events or commands.
Implemented in Cqrs.Bus.InProcessBus< TAuthenticationToken >, Cqrs.Akka.Commands.AkkaCommandBus< TAuthenticationToken >, Cqrs.Azure.ServiceBus.AzureEventBusReceiver< TAuthenticationToken >, Cqrs.Azure.ServiceBus.AzureCommandBusReceiver< TAuthenticationToken >, Cqrs.Akka.Events.AkkaEventBus< TAuthenticationToken >, Cqrs.Azure.ServiceBus.AzureEventBusReceiver< TAuthenticationToken >, Cqrs.Bus.RouteManager, Cqrs.Azure.ServiceBus.AzureCommandBusReceiver< TAuthenticationToken >, and Cqrs.Tests.Substitutes.TestHandleRegistrar.
TMessage | : | IMessage |