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.

◆ IsABusRequired()

virtual bool Cqrs.Bus.BusHelper.IsABusRequired ( Type  messageType,
bool  checkPublic 
)
protectedvirtual

Checks if the particular bus is required to send the message. Note, this does not imply the public bus is not required as well.

Parameters
messageTypeThe Type of the message being processed.
checkPublicCheck for the public or private bus.
Returns
Null for unconfigured, True for a particular bus transmission, false otherwise.