MessagingProvider Class

Definition

This class provides factory methods for the creation of instances used for Service Bus message processing. It can be overriden to customize any of the client creation methods.

public class MessagingProvider
type MessagingProvider = class
Public Class MessagingProvider
Inheritance
System.Object
MessagingProvider

Constructors

MessagingProvider(IOptions<ServiceBusOptions>)

Initializes a new instance of MessagingProvider. This is called by the Functions runtime as part of start up.

Methods

CreateBatchMessageReceiver(ServiceBusClient, String, ServiceBusReceiverOptions)

Creates a ServiceBusReceiver that will be used to receive a batch of messages.

CreateClient(String, ServiceBusClientOptions)

Creates a ServiceBusClient to use for communicating with the service.

CreateClient(String, TokenCredential, ServiceBusClientOptions)

Creates a ServiceBusClient to use for communicating with the service.

CreateMessageProcessor(ServiceBusClient, String, ServiceBusProcessorOptions)

Creates a MessageProcessor instance that will be used to process messages.

CreateMessageSender(ServiceBusClient, String)

Creates a ServiceBusSender that will be used to send messages to the queue or topic.

CreateProcessor(ServiceBusClient, String, ServiceBusProcessorOptions)

Creates a ServiceBusProcessor instance that will be used to receive messages from the entity.

CreateSessionMessageProcessor(ServiceBusClient, String, ServiceBusSessionProcessorOptions)

Creates a SessionMessageProcessor instance that will be used to process messages.

CreateSessionProcessor(ServiceBusClient, String, ServiceBusSessionProcessorOptions)

Creates a ServiceBusProcessor instance that will be used to receive messages from the entity.

Applies to