Package com.rabbitmq.client.amqp
Interface ConnectionBuilder.RecoveryConfiguration
- Enclosing interface:
ConnectionBuilder
public static interface ConnectionBuilder.RecoveryConfiguration
Configuration for recovery.
-
Method Summary
Modifier and TypeMethodDescriptionactivated
(boolean activated) Whether to activate recovery or not.backOffDelayPolicy
(BackOffDelayPolicy backOffDelayPolicy) Delay policy for connection attempts.The connection builder.topology
(boolean activated) Whether to activate topology recovery or not.
-
Method Details
-
activated
Whether to activate recovery or not.Activated by default.
- Parameters:
activated
- activation flag- Returns:
- the configuration instance
-
backOffDelayPolicy
Delay policy for connection attempts.- Parameters:
backOffDelayPolicy
- back-off delay policy- Returns:
- the configuration instance
-
topology
Whether to activate topology recovery or not.Topology recovery includes recovery of exchanges, queues, bindings, publishers, and consumers.
Activated by default.
- Parameters:
activated
- activation flag- Returns:
- the configuration instance
-
connectionBuilder
ConnectionBuilder connectionBuilder()The connection builder.- Returns:
- connection builder
-