Class RabbitProperties.Retry
java.lang.Object
org.springframework.boot.autoconfigure.amqp.RabbitProperties.Retry
- Direct Known Subclasses:
RabbitProperties.ListenerRetry
- Enclosing class:
- RabbitProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
double
boolean
void
setEnabled
(boolean enabled) void
setInitialInterval
(Duration initialInterval) void
setMaxAttempts
(int maxAttempts) void
setMaxInterval
(Duration maxInterval) void
setMultiplier
(double multiplier)
-
Constructor Details
-
Retry
public Retry()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getMaxAttempts
public int getMaxAttempts() -
setMaxAttempts
public void setMaxAttempts(int maxAttempts) -
getInitialInterval
-
setInitialInterval
-
getMultiplier
public double getMultiplier() -
setMultiplier
public void setMultiplier(double multiplier) -
getMaxInterval
-
setMaxInterval
-