Uses of Class
com.azure.core.amqp.AmqpRetryOptions
Package
Description
Package containing classes common to AMQP protocol.
This package contains interfaces that represent common cross-cutting (and AMQP-related) aspects of functionality
offered by libraries in the Azure SDK for Java.
Package containing classes for creating
EventHubProducerAsyncClient
,
EventHubProducerClient
,
EventHubConsumerAsyncClient
,
EventHubConsumerClient
, or
EventProcessorClient
to perform operations on Azure Event Hubs.Package containing classes for creating
ServiceBusSenderAsyncClient
,
ServiceBusProcessorClient
, and
ServiceBusReceiverAsyncClient
to perform operations on Azure Service Bus.-
Uses of AmqpRetryOptions in com.azure.core.amqp
Modifier and TypeMethodDescriptionAmqpRetryPolicy.getRetryOptions()
Gets the set of options used to configure this retry policy.Gets the delay between retry attempts for a fixed approach or the delay on which to base calculations for a backoff-approach.AmqpRetryOptions.setMaxDelay
(Duration maximumDelay) Sets the maximum permissible delay between retry attempts.AmqpRetryOptions.setMaxRetries
(int numberOfRetries) Sets the maximum number of retry attempts before considering the associated operation to have failed.AmqpRetryOptions.setMode
(AmqpRetryMode retryMode) Sets the approach to use for calculating retry delays.AmqpRetryOptions.setTryTimeout
(Duration tryTimeout) Sets the maximum duration to wait for completion of a single attempt, whether the initial attempt or a retry.ModifierConstructorDescriptionAmqpRetryOptions
(AmqpRetryOptions retryOptions) Creates an instance configured withretryOptions
.protected
AmqpRetryPolicy
(AmqpRetryOptions retryOptions) Creates an instance with the given retry options.ExponentialAmqpRetryPolicy
(AmqpRetryOptions retryOptions) Creates a new instance with a minimum and maximum retry period in addition to maximum number of retry attempts.FixedAmqpRetryPolicy
(AmqpRetryOptions retryOptions) Creates an instance with the given retry options. -
Uses of AmqpRetryOptions in com.azure.core.amqp.client.traits
Modifier and TypeMethodDescriptionAmqpTrait.retryOptions
(AmqpRetryOptions retryOptions) Sets the retry policy. -
Uses of AmqpRetryOptions in com.azure.messaging.eventhubs
Modifier and TypeMethodDescriptionEventHubClientBuilder.retry
(AmqpRetryOptions retryOptions) Deprecated.EventProcessorClientBuilder.retry
(AmqpRetryOptions retryOptions) Deprecated.EventHubClientBuilder.retryOptions
(AmqpRetryOptions retryOptions) Sets the retry policy forEventHubAsyncClient
.EventProcessorClientBuilder.retryOptions
(AmqpRetryOptions retryOptions) Sets the retry policy forEventHubAsyncClient
. -
Uses of AmqpRetryOptions in com.azure.messaging.servicebus
Modifier and TypeMethodDescriptionServiceBusClientBuilder.retryOptions
(AmqpRetryOptions retryOptions) Sets the retry options for Service Bus clients.
EventHubClientBuilder.retryOptions(AmqpRetryOptions)
.