Skip to content

Add Circuit Breaker to Spring Integration [INT-2250] #6232

Closed

Description

@spring-operator

Eberhard Wolff opened INT-2250 and commented

For access to remote systems the Circuit Breaker pattern is established http://davybrion.com/blog/2008/05/the-circuit-breaker/ . It might make sense to add this to the synchronous Gateways and Adapters to deal with failures without overloading the remote system.


Issue Links:

3 votes, 3 watchers

Activity

  1. spring-operator commented on Nov 18, 2011

    @spring-operator
    ContributorAuthor

    Mark Fisher commented

    This looks like a great case for using AOP, and it might very well be something we could support through some customizations of the spring-retry interceptors.

  2. spring-operator commented on Nov 18, 2011

    @spring-operator
    ContributorAuthor

    Mark Fisher commented

    Linking to our Retry Interceptor issue which is already targetting 2.2.

  3. spring-operator commented on Dec 28, 2011

    @spring-operator
    ContributorAuthor

    Gary Russell commented

    While this is related to retries, I don't think it's a function of a retry interceptor - that is all about doing retries of calls to the actual service.

    This is all about fast-failure of a message handler call (e.g. if the target system is down), whether or not the message is a retry.

    That said, I suppose we could have one interceptor that handles retries and circuit breaker functionality.

    Initial cut at an implementation is here... garyrussell@e07d137

    It's not much code; please take a look and comment if you have time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions