This interface must be implemented by Redakt service bus modules. The module can then be registered with the DI container.
public interface IServiceBus: IDataProvider
- Extends:
- IDataProvider
Methods
add_MessageReceived(Func<MessageReceivedEventArgs, Task>) | |
remove_MessageReceived(Func<MessageReceivedEventArgs, Task>) | |
SendMessageAsync<T>(T, bool) | Sends a message over the service bus. |
Implemented by
AwsServiceBus | |
AzureServiceBus | |
CappedCollectionServiceBus | |
CollectionPollingServiceBus | |
InternalServiceBus | This is the default internal service bus implementation. It is not suitable for distributed hosting configurations. |