Class AmqpRetryProperties

java.lang.Object
com.azure.spring.cloud.core.properties.retry.RetryProperties
com.azure.spring.cloud.core.properties.retry.AmqpRetryProperties
All Implemented Interfaces:
RetryOptionsProvider.AmqpRetryOptions, RetryOptionsProvider.RetryOptions

public class AmqpRetryProperties extends RetryProperties implements RetryOptionsProvider.AmqpRetryOptions
Unified http retry properties for all Azure SDKs based on HTTP.
  • Constructor Details

    • AmqpRetryProperties

      public AmqpRetryProperties()
  • Method Details

    • getTryTimeout

      public Duration getTryTimeout()
      Get how long to wait until a timeout.
      Specified by:
      getTryTimeout in interface RetryOptionsProvider.AmqpRetryOptions
      Returns:
      the timeout.
    • setTryTimeout

      public void setTryTimeout(Duration tryTimeout)
      Set how long to wait until a timeout.
      Parameters:
      tryTimeout - the timeout.