Skip to content

Instantly share code, notes, and snippets.

@marianogonzalez
Created July 22, 2015 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marianogonzalez/36fe41f35452057c4a73 to your computer and use it in GitHub Desktop.
Save marianogonzalez/36fe41f35452057c4a73 to your computer and use it in GitHub Desktop.
<flow name="reliableAcquisition" processingStrategy="synchronous">
<sftp:inbound-endpoint address="sftp://${USER1_NAME}:${USER1_PASSWORD}@${SFTP_HOST}:${SFTP_PORT}/~/input" archiveDir="${archiveDir}" />
<flow-ref name="myErrorProneBusinessLogic" />
<rollback-exception-strategy maxRedeliveryAttempts="${maxRedelivery}">
<on-redelivery-attempts-exceeded>
<vm:outbound-endpoint exchange-pattern="one-way" path="error-queue"/>
</on-redelivery-attempts-exceeded>
</rollback-exception-strategy>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment