Skip to content

Instantly share code, notes, and snippets.

@johndemic
Created November 30, 2011 21:14
Show Gist options
  • Save johndemic/1410851 to your computer and use it in GitHub Desktop.
Save johndemic/1410851 to your computer and use it in GitHub Desktop.
Mule Circuit Breaker Configuration
<circuitbreaker:config breakerName="testingBreaker" tripThreshold="5" tripTimeout="300000"/>
<flow name="testFlow">
<vm:inbound-endpoint path="vm.in"/>
<circuitbreaker:filter/>
<test:component throwException="true"/>
<vm:outbound-endpoint path="vm.out"/>
<default-exception-strategy>
<circuitbreaker:trip tripOnException="org.mule.tck.exceptions.FunctionalTestException"/>
</default-exception-strategy>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment