circuitBreakerStrategy
Strategy for configuring the processor’s circuit breaker.
The circuit breaker monitors the transient failure rate of the processor and opens the circuit if a configured rate of failures is met. This can help alleviate load on the system in the event of external system downtime by not waiting for timeouts, etc.
The failure/success thresholds for opening and closing the circuit breaker, and the duration it should stay in the open state, can be configured with this strategy.
If this strategy is not provided, the default server configuration is used.
Properties
Name | Summary |
---|---|
|
Number of messages out of the given total (i.e., |
|
Number of messages to include when checking the failure threshold. If the number of messages that have failed within the last |
|
Number of messages out of the given total (i.e., |
|
Number of messages to sample in the half-open state, and to compare to the minimum number of successes (i.e., |
|
The period to keep the breaker open before changing to the half-open state. Required. |