File - read a file from disk

Description - Embeds a specified binary, xml or text file in the input document

Runtime Class - com.ibi.agents.XDPFFileReadAgent



Parameter Groups

 ParameterTypeDescription
*File Name:stringSource file to be read.
*Format:stringFormat of the source file

Select from one of the following options:
  • Flat {flat}
  • XML {xml}
  • JSON {json}
  • Stream {stream}
* - denotes required
 ParameterTypeDescription
Encoding:stringCharacter set encoding to be performed on input. Base 64 is required for flat binary data

Select from one of the following options:
  • cp037
  • ISO-8859-1
  • ISO-8859-8
  • SJIS
  • UNICODE
  • UTF-8
  • UTF8
*Base64 Encode:booleanBase64 encode the read in document when embedding
* - denotes required
 ParameterTypeDescription
*Embed:booleanWhether to embed the data from the read operation into the input document
Tag:stringName of the node to wrap the data read in flat format.
Parent Tag:stringThe tag in the input document where the data should be embedded.
* - denotes required
 ParameterTypeDescription
Retry:integerIf non-zero, will retry the operation n times at one-second intervals
* - denotes required
 ParameterTypeDescription
*Delete File Source:booleanWhether to delete the file read on a successful read.
* - denotes required

Output Events

NameDescription
OnNotFoundThe resource was not found. This may or may not be a failure.
OnParseErrorCould not parse a document.
OnFailedOperationCould not perform the operation requested.