The RuntimeConnector6.0.xml files are here:
The Config holds two
AssemblyLines; the one called "!! Start Me !!" is the one to run. But first you must configure the Connector called "FileReader" (in the "Connectors" library folder) so that it can read the .csv file.
When the "!! Start Me !!"
AssemblyLine runs, it loads an instance of the "FileReader" Connector and then stores it as a Java property -- making it accessible to any task running in the same JVM. Instead of an Iterator, the AL has a Loop that cycles three times, each time (re-)initializing the Connector, calling the "TestAL"
AssemblyLine and then closing the Connector again.
The "TestAL"
AssemblyLine Iterates using the library Connector called "RuntimeConnector". This is a Script Connector written to retrieve and use the Connector previously stored as a Java property.
Note also how the "!! Start Me !!" AL does its cycling with a Loop instead of a Connector in the Feeds section.
--
EddieHartman - 24 May 2006