Share via


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
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.

CreateMessageProcessor(String, String)
CreateMessageReceiver(String, String)
CreateMessageSender(ServiceBusClient, String)

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

CreateMessageSender(String, String)
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