Last active
November 29, 2017 22:00
-
-
Save marianogonzalez/0f0b361fc506c5da675e382e8e8c8c71 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
<sftp:config name="sftp"> | |
<sftp:connection host="#[payload.host]" username="#[payload.user]" password="#[payload.password]" /> | |
</sftp:config> | |
<flow name="sftpMultitenant" > | |
<http:listener config-ref="HTTP_Listener_config" path="/multitenant"/> | |
<set-variable variableName="content" value="#[payload]" /> | |
<file:read path="recipients.csv" outputMimeType="application/csv" /> | |
<foreach> | |
<sftp:write path="demo.txt" config-ref="sftp"> | |
<sftp:content >#[content]</sftp:content> | |
</sftp:write> | |
</foreach> | |
<set-payload value="Multicast OK"/> | |
</flow> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment