Share via


MessagingProvider.CreateProcessor Method

Definition

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

protected internal virtual Azure.Messaging.ServiceBus.ServiceBusProcessor CreateProcessor (Azure.Messaging.ServiceBus.ServiceBusClient client, string entityPath, Azure.Messaging.ServiceBus.ServiceBusProcessorOptions options);
abstract member CreateProcessor : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusProcessorOptions -> Azure.Messaging.ServiceBus.ServiceBusProcessor
override this.CreateProcessor : Azure.Messaging.ServiceBus.ServiceBusClient * string * Azure.Messaging.ServiceBus.ServiceBusProcessorOptions -> Azure.Messaging.ServiceBus.ServiceBusProcessor
Protected Friend Overridable Function CreateProcessor (client As ServiceBusClient, entityPath As String, options As ServiceBusProcessorOptions) As ServiceBusProcessor

Parameters

client
ServiceBusClient

The client that is being used to communicate with the service.

entityPath
String

The path to the Service Bus entity that is being received from.

options
ServiceBusProcessorOptions

The set of options to use for configuring the processor. These options are computed from the ServiceBusOptions passed to the MessagingProvider constructor.

Returns

A ServiceBusProcessor that will be used by the extension.

Remarks

This method is called for functions that bind to a single message.

Applies to