Created
April 6, 2012 15:31
-
-
Save nialdarbey/2320804 to your computer and use it in GitHub Desktop.
This file contains 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
<composite-source> | |
<vm:inbound-endpoint path="createStory" exchange-pattern="one-way" doc:name="createStory"/> | |
<jms:inbound-endpoint queue="error.createStory" connector-ref="Active_MQ" doc:name="error.createStory" /> | |
</composite-source> | |
<until-successful objectStore-ref="createStoryObjectStore" maxRetries="12" secondsBetweenRetries="300"> | |
... | |
</until-successful> | |
<default-exception-strategy> | |
<processor-chain> | |
<logger message="Failed to invoke createStory on PivotalTracker connector. Will retry in 1 hour" level="ERROR" /> | |
<smtp:outbound-endpoint host="smtp.googlemail.com" port="25" subject="Exception in createStory flow" to="nial.darbey@mulesoft.com" connector-ref="smtpGmailConnector" /> | |
<scripting:transformer doc:name="Replace with Original Payload"> | |
<scripting:script engine="groovy"> | |
<scripting:text><![CDATA[return payload.getPayload()]]></scripting:text> | |
</scripting:script> | |
</scripting:transformer> | |
<quartz:outbound-endpoint repeatCount="0" cronExpression="0 * * * * ? *" jobName="createStory" startDelay="3600000"> | |
<quartz:scheduled-dispatch-job> | |
<quartz:job-endpoint address="jms://error.createStory" /> | |
</quartz:scheduled-dispatch-job> | |
</quartz:outbound-endpoint> | |
</processor-chain> | |
</default-exception-strategy> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment