Created
July 22, 2015 21:03
-
-
Save marianogonzalez/46f85a90bd98f4f1b5d2 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
<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