ServiceBusClientBuilder.ServiceBusProcessorClientBuilder.processMessage(Consumer<ServiceBusReceivedMessageContext> processMessage) Method

Definition

The message processing callback for the processor which will be executed when a message is received.

public ServiceBusClientBuilder.ServiceBusProcessorClientBuilder processMessage(Consumer<ServiceBusReceivedMessageContext> processMessage)

Parameters

processMessage
java.util.function.Consumer<ServiceBusReceivedMessageContext>

The message processing consumer that will be executed when a message is received.

Returns

The updated ServiceBusProcessorClientBuilder object.

Applies to