Interface ConnectionBuilder.RecoveryConfiguration

Enclosing interface:
ConnectionBuilder

public static interface ConnectionBuilder.RecoveryConfiguration
Configuration for recovery.
  • Method Details

    • activated

      ConnectionBuilder.RecoveryConfiguration activated(boolean activated)
      Whether to activate recovery or not.

      Activated by default.

      Parameters:
      activated - activation flag
      Returns:
      the configuration instance
    • backOffDelayPolicy

      ConnectionBuilder.RecoveryConfiguration backOffDelayPolicy(BackOffDelayPolicy backOffDelayPolicy)
      Delay policy for connection attempts.
      Parameters:
      backOffDelayPolicy - back-off delay policy
      Returns:
      the configuration instance
    • topology

      ConnectionBuilder.RecoveryConfiguration topology(boolean activated)
      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