Created
May 24, 2016 21:58
-
-
Save bibryam/6e75fbf714a24d590bc923524c5b15d3 to your computer and use it in GitHub Desktop.
Camel Circuit Breaker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"> | |
| <route> | |
| <from uri="direct:start"/> | |
| <loadBalance> | |
| <circuitBreaker threshold="2" halfOpenAfter="1000"> | |
| <exception>MyCustomException</exception> | |
| </circuitBreaker> | |
| <to uri="mock:result"/> | |
| </loadBalance> | |
| </route> | |
| </camelContext> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment