CQRS.NET  4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ ReceiveCommand()

virtual ICommand<TAuthenticationToken> Cqrs.Azure.ServiceBus.AzureBusHelper< TAuthenticationToken >.ReceiveCommand ( string  messageBody,
Func< ICommand< TAuthenticationToken >, bool?>  receiveCommandHandler,
string  messageId,
string  signature,
string  signingTokenConfigurationKey,
Action  skippedAction = null,
Action  lockRefreshAction = null 
)
virtual

Deserialises and processes the messageBody received from the network through the provided receiveCommandHandler .

Parameters
messageBodyA serialised IMessage.
receiveCommandHandlerThe handler method that will process the ICommand<TAuthenticationToken>.
messageIdThe network id of the IMessage.
signatureThe signature of the IMessage.
signingTokenConfigurationKeyThe configuration key for the signing token as used by IConfigurationManager.
skippedActionThe Action to call when the ICommand<TAuthenticationToken> is being skipped.
lockRefreshActionThe Action to call to refresh the network lock.
Returns
The ICommand<TAuthenticationToken> that was processed.

Implements Cqrs.Azure.ServiceBus.IAzureBusHelper< TAuthenticationToken >.