Created
October 4, 2011 00:54
-
-
Save ddossot/1260669 to your computer and use it in GitHub Desktop.
Mule Redis OS until-successful
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
<redis:config name="localRedis" /> | |
<flow name="retrying-http-bridge"> | |
<vm:inbound-endpoint path="acme-bridge" | |
exchange-pattern="one-way" /> | |
<until-successful objectStore-ref="localRedis" | |
failureExpression="#[header:INBOUND:http.status = 202]" | |
maxRetries="6" | |
secondsBetweenRetries="600"> | |
<http:outbound-endpoint address="http://acme.com/api/flakey" | |
exchange-pattern="request-response" | |
method="POST" /> | |
</until-successful> | |
</flow> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment