How to make your File Adapter pick only one file at a time from a location
- by anirudh.pucha(at)oracle.com
In SOA 11g, you use File adapter to read files from the given location.With this read operation it picks all the files at time.You want to configure File Adapters that it should pick one file at time from the given location with given polling interval.Solution :You set the "SingleThreadModel" and "MaxRaiseSize" properties for your file adapter. Edit the adapter's jca file and add the following properties:property name="SingleThreadModel" value="true"property name="MaxRaiseSize" value="1"You
can set these properties also through jdeveloper, by opening
composite.xml, selecting the adapter and then changing the properties
through the properties panel.