リモートディレクトリにローカルディレクトリのDocument.txtファイルを送信できましたが、リモートのファイルを削除すると同じファイルをFTPに送信できませんでしたローカルからもう一度送信しようとします.Pollerは、同じフォルダに別のファイルを置いた場合にピックアップするので、うまくいきます。これについていくつかの洞察を持てますか? <file:inbound-channel-adapter
春の統合 - 同じ名前のファイルを2回目に送信することができません
enter code here
<!-- Inbound adapter channels for reading the local directory files in processed folder -->
<file:inbound-channel-adapter id="inboundProcessed"
channel="processedChannel"
filename-pattern="*.txt"
directory="$dina-communication.batch-{localDirectory}"
>
<int:poller fixed-rate="10000" />
</file:inbound-channel-adapter>
<int:channel id="processedChannel"></int:channel>
<!-- Outbound adapter channels for FTP the files in processed folder to remote directory -->
<int-ftp:outbound-channel-adapter id="ftpProcessed"
channel="processedChannel"
session-factory="ftpClientFactory"
remote-directory="$dina-communication.batch-{remoteDirectory}"
>
<int-ftp:request-handler-advice-chain>
<bean class="org.springframework.integration.handler.advice.ExpressionEvaluatingRequestHandlerAdvice">
<property name="onSuccessExpression" value="payload.delete()" />
</bean>
</int-ftp:request-handler-advice-chain>
</int-ftp:outbound-channel-adapter>
はSOへようこそ!次の内容を確認し、質問を更新してください: https://stackoverflow.com/help/how-to-ask – garfbradaz