ftp - how to write output channel from itemWriter in spring batch and spring integration? -
firstly attention, combined spring batch , spring integration, defined job flow , retrieve files ftp adapter , sent jobchannel, , process on spring batch , want write output channel , consume channel after processing, code is: <int-ftp:outbound-gateway id="gatewayget" local-directory-expression="'./backup/' +#remotedirectory" session-factory="ftpsessionfactory" request-channel="togetchannel" reply-channel="toprocesschannel" command="get" temporary-file-suffix=".writing" command-options="-p" expression="payload.remotedirectory + '/' + payload.filename"/> <int:channel id="toprocesscha...