Created
July 31, 2013 07:48
-
-
Save vanjikumaran/6120125 to your computer and use it in GitHub Desktop.
SynaspeRetry1
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
| <definitions xmlns="http://ws.apache.org/ns/synapse"> | |
| <sequence name="main" onError="errorHandler"> | |
| <in> | |
| <send> | |
| <endpoint> | |
| <loadbalance> | |
| <endpoint> | |
| <address uri="http://localhost:9001/services/LBService1"> | |
| <enableAddressing/> | |
| <suspendDurationOnFailure>60</suspendDurationOnFailure> | |
| </address> | |
| </endpoint> | |
| <endpoint> | |
| <address uri="http://localhost:9002/services/LBService1"> | |
| <enableAddressing/> | |
| <suspendDurationOnFailure>60</suspendDurationOnFailure> | |
| </address> | |
| </endpoint> | |
| <endpoint> | |
| <address uri="http://localhost:9003/services/LBService1"> | |
| <enableAddressing/> | |
| <suspendDurationOnFailure>60</suspendDurationOnFailure> | |
| </address> | |
| </endpoint> | |
| </loadbalance> | |
| </endpoint> | |
| </send> | |
| <drop/> | |
| </in> | |
| <out> | |
| <!-- Send the messages where they have been sent (i.e. implicit To EPR) --> | |
| <send/> | |
| </out> | |
| </sequence> | |
| <sequence name="errorHandler"> | |
| <makefault response="true"> | |
| <code value="tns:Receiver" xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/> | |
| <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/> | |
| </makefault> | |
| <send/> | |
| </sequence> | |
| </definitions> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment