Skip to content

Instantly share code, notes, and snippets.

@marianogonzalez
Created July 22, 2015 21:03
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/46f85a90bd98f4f1b5d2 to your computer and use it in GitHub Desktop.
Save marianogonzalez/46f85a90bd98f4f1b5d2 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}">
<idempotent-redelivery-policy idExpression="#[message.outboundProperties['originalFilename']]" maxRedeliveryCount="${maxRedelivery}">
<dead-letter-queue>
<vm:outbound-endpoint exchange-pattern="one-way" path="error-queue"/>
</dead-letter-queue>
</idempotent-redelivery-policy>
</sftp:inbound-endpoint>
<flow-ref name="myErrorProneBusinessLogic" />
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment