Hi,
I am using the FTP adapter to poll the file from the SFTP location in OSB 12C. My requirement is to pick up one file at a time, and poll another file only after my first file gets processed completely. My poller is scheduled to poll every 40 seconds.
I have used below JCA properties for the same, in which I have given max raise size as 1 to pick up 1 file only at a time but that is also not working which I think is because of cluster environment, as 2 files are getting polled simultaneously. Not sure though.
<property name="PhysicalDirectory" value="/Stage/ITEMS_IBS/archive"/>
<property name="FileType" value="ascii"/>
<property name="UseRemoteArchive" value="true"/>
<property name="PhysicalArchiveDirectory" value="/Stage/Archive"/>
<property name="UseHeaders" value="false"/>
<property name="MinimumAge" value="5"/>
<property name="Recursive" value="false"/>
<property name="SingleThreadModel" value="true"/>
<property name="PollingFrequency" value="40"/>
<property name="DeleteFile" value="true"/>
<property name="IncludeFiles" value=".*\..*"/>
<property name="MaxRaiseSize" value="1"/>
<property name="Distributed" value="true"/>
How to make this max raise size property working in cluster environment so that only 1 file should get picked at a time and how to make sure my second file gets polled only after my first file gets processed successfully?