Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8039

Implement halfOpen state in CircuitBreaker

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.15.0
    • camel-core
    • None
    • Patch Available
    • Unknown

    Description

      The CircuitBreaker EIP described in ReleaseIt! has an halfOpen state. It means that after the halfOpen time timeout, the circuitBreaker is accepting one more exchange and it close the circuit only if the processor succeeds.

      This is not implemented in Camel, I would like to propose the attached patch with code and test for implementing the HalfOpen state.

      Attachments

        Issue Links

          Activity

            People

              njiang Willem Jiang
              Matteo Pavesi Matteo Pavesi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: