Parameter | Description |
Transport Name | The name of the instance of the JMultiFileTransport to use. This must match a transport instance name specified in the IAF configuration file. |
File Name | The name of the file to read. |
Lines In Header | The number of lines to skip at the beginning of the file. |
File Channel | The name of the channel to output file events to. The various file events are defined in the FileEvents.mon file, and the definitions are in the com.apama.file package. You can find FileEvents.mon in the adapters/monitors directory of your Apama installation directory. |
Operation | Description |
Open File | Opens a file according to the current values of the Transport Name, File Name, Lines In Header and File Channel parameters |
Close File | Closes a file according to the current values of the Transport Name, File Name and File Channel parameters. |
Read Line | Reads a line from the file. Uses the current values of the Transport Name, File Name and File Channel parameters. |
Get File Status | Explicit call to update the Status output feed. Uses the current values of the Transport Name, File Name and File Channel parameters. |
Feed | Field | Description |
line | file name | The name of the file associated with the current line. |
file transport | The name of the transport associated with the current line. | |
line | String that contains the current read line. | |
error | file name | The name of the file that returned the error. |
file transport | The name of the transport that returned the error. | |
message | The error message returned. | |
status | file name | The name of the file associated with the status update. |
file transport | The name of the transport associated with the status update. | |
more available | A flag that indicates whether there are currently more lines to read from the file. | |
file currently open | A flag that indicates whether or not the file is currently open. |