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