CQRS.NET  2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ ManuallyRegisterCommandHandler< TMessage >()

virtual void Cqrs.Hosts.CoreHost< TAuthenticationToken >.ManuallyRegisterCommandHandler< TMessage > ( Action< TMessage >  commandHandler,
bool  holdMessageLock = true 
)
protectedvirtual

Register an command handler that will listen and respond to commands.

Parameters
commandHandlerThe command handler to call
holdMessageLockIf false, this will spin off another thread. This is a bad performance impact. Strongly suggest you use lock renewing instead... which is configuration based... so even better.
Type Constraints
TMessage :IMessage