THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
loadBalance().failOverfailover(IOException.class, MyOtherException.class).to("direct:a", "direct:b"); |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<loadBalance> <failOver><failover> <exception>java.io.IOException</exception> <exception>com.mycompany.MyOtherException</exception> </failOver>failover> <to uri="direct:a"/> <to uri="direct:b"/> </loadBalance> |
...