Uses of Class
com.azure.messaging.servicebus.ServiceBusClientBuilder.ServiceBusProcessorClientBuilder
Package
Description
Package containing classes for creating
ServiceBusSenderAsyncClient
,
ServiceBusProcessorClient
, and
ServiceBusReceiverAsyncClient
to perform operations on Azure Service Bus.-
Uses of ServiceBusClientBuilder.ServiceBusProcessorClientBuilder in com.azure.messaging.servicebus
Modifier and TypeMethodDescriptionServiceBusClientBuilder.ServiceBusProcessorClientBuilder.disableAutoComplete()
Disables auto-complete and auto-abandon of received messages.ServiceBusClientBuilder.ServiceBusProcessorClientBuilder.maxAutoLockRenewDuration
(Duration maxAutoLockRenewDuration) Sets the amount of time to continue auto-renewing the lock.ServiceBusClientBuilder.ServiceBusProcessorClientBuilder.maxConcurrentCalls
(int maxConcurrentCalls) Max concurrent messages that this processor should process.ServiceBusClientBuilder.ServiceBusProcessorClientBuilder.prefetchCount
(int prefetchCount) Sets the prefetch count of the processor.ServiceBusClientBuilder.ServiceBusProcessorClientBuilder.processError
(Consumer<ServiceBusErrorContext> processError) The error handler for the processor which will be invoked in the event of an error while receiving messages.ServiceBusClientBuilder.ServiceBusProcessorClientBuilder.processMessage
(Consumer<ServiceBusReceivedMessageContext> processMessage) The message processing callback for the processor which will be executed when a message is received.ServiceBusClientBuilder.processor()
A new instance ofServiceBusClientBuilder.ServiceBusProcessorClientBuilder
used to configureServiceBusProcessorClient
instance.Sets the name of the queue to create a processor for.ServiceBusClientBuilder.ServiceBusProcessorClientBuilder.receiveMode
(ServiceBusReceiveMode receiveMode) Sets the receive mode for the processor.Sets the type of theSubQueue
to connect to.ServiceBusClientBuilder.ServiceBusProcessorClientBuilder.subscriptionName
(String subscriptionName) Sets the name of the subscription in the topic to listen to.Sets the name of the topic.