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.
Technical Posts on latest Middleware Platform comprising affordable and amazing solutions for Oracle SOA Suite,BPEL,BAM,BPA,ESB,WebMethods, JDeveloper,IBM WebSphere,Oracle BEA Weblogic Server,Websphere. Official Blog : http://blogs.oracle.com/anirudhpucha/ Disclaimer:The views expressed on this blog are my own and do not necessarily reflect the views of any Organisations owning these products. There are some interesting posts of others that were copied with prior permission/sometimes not.
Saturday, September 11, 2010
How to make your File Adapter pick only one file at a time from a location
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment