Mike Barlotta created CAMEL-10718:
-------------------------------------

             Summary: Route Policy implements circuit breaker pattern to stop 
consuming from the endpoint
                 Key: CAMEL-10718
                 URL: https://issues.apache.org/jira/browse/CAMEL-10718
             Project: Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Mike Barlotta


Our project recently needed a circuit breaker that stop consuming messages from 
the from endpoint. I noticed that the Camel circuit breakers consumed from the 
endpoint even in the open mode and controlled access to the to endpoints on the 
route.

Based on this Stack Overflow answer, I created a circuit breaker that will stop 
consuming from the starting endpoint based on exceptions being thrown. It is 
using a RoutePolicy and imitates the existing ThrottlingInflightRoutePolicy as 
well as the CircuitBreakingLoadBalancer.

This is in the PR 1400
https://github.com/apache/camel/pull/1400



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to