Hi,

We have a spring batch based file processing. The spring batch job uses spring integration to fetch the file and
launch the job. Below are the configuration details.

HTML Code:
<bean id="sftpSessionFactory" class="org.springframework.integration.sftp.session.DefaultSftpSessionFactory">
		<property name="host" value="****"/>
		<property name="port" value="****"/>
		<property name="user" value="****"/>
		<property name="password" value="****"/>
	</bean>

	<int-sftp:inbound-channel-adapter id="InboundChannelAdapter"
 		session-factory="sftpSessionFactory"
		channel="InChannel"
		filename-pattern="*.txt"
		remote-directory="/home/sftp/remote"
		local-directory="/home/app1/local"
		delete-remote-files="true"
		auto-create-local-directory="true"
		>
		<int:poller fixed-rate="1000" />
	</int-sftp:inbound-channel-adapter>

	<int:channel id="InChannel">
		<int:queue capacity="25"/>
	</int:channel>

	<int:service-activator  input-channel="InChannel" ref="fileuploadServiceImpl" method="parseFile"/>
Everything works fine when different files are dropped in sftp location, but if same file dropped again in sftp location,file is copying to local folder( since i am deleting from local after my processing)
but service is not getting activated, please any body let me know how to activate service for same file again.

Thanks.