Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Business logic configuration details are configured in the Interaction Configurations panel. Figure 1 below illustrates the panel with the Expert Properties view enabled.

Image RemovedImage Added
Figure 1: Interaction Configurations

...

If enabled, File and Directory details would be taken from the input.

Pre Processing XSL Configuration

Pre Processing XSL configuration can be used to transform request message before processing it. Click the ellipses button against the property to configure the properties.

Refer to the Pre/Post Processing XSL Configuration section under the Common Configurations page for details regarding Pre Processing XSL configuration and Post Processing XSL configuration (below).

Post Processing XSL Configuration 

Post Processing XSL configuration can be used to transform response message before sending it to the output port.

Process Message based on a Property

...

Tip

Refer the Processing Message based on a Property section to understand the working of this property.

 

Is file Binary?

The property is used to specify if the input file which is being read is binary or a flat file.

...

Note

Line Count, Header Count, and Chunck Chunk size properties are visible only when Is file Binary? property is disabled.

...

Note

If enabled, the absolute path of the file must be given in the text field and if disabled, a file dialog is shown with directory structure to set the file path as shown in Figures 2 and 3 respectively.

...

The path of the directory relative to which the paths of Source Directory, Working Directory, Error Directory, and Postprocessing Directory are calculated. By default, this points to the FIORANO_HOME directory. If the paths specified for Source/Working/Error/Postprocessing directories are not absolute, their paths are calculated relative to the directory specified here.

Note

If the path specified for Source Directory/Working Directory/Error Directory/Postprocessing directory is absolute, the path specified for Compute Paths relative to the directory will not be used in the computation of the path for that particular directory.

...

If source/work/error/postproccessing directories branch from the same location "/home/fiorano", "/home/fiorano" which is the relative path for those directories is specifed specified in Compute paths relative to Directory.

...

An absolute path or a path relative to the directory specified in the Compute Paths relative to Directory can be provided.
If Is configured on different machine? is disabled, clicking the ellipsis button opens a file dialog as shown in Figure 3, where the directory can be chosen from the file system.

Otherwise, the absolute path of the directory must be specified in the text field as shown in Figure 2.

...

The path of the directory which is to be used for intermediate processing of files. If preprocessing actions are specified, the working directory will be used while processing them. If Is configured on different machine? is disabled, clicking the ellipsis button will open a file dialog as shown in Figure 3, where the directory can be chosen from the file system. Otherwise, the path of the directory must be specified in the text field as shown in Figure 2.

...

Path of the directory which should hold the files whose processing has not been successful.
If Is configured on different machine? is disabled, clicking the ellipsis button will open a file dialog as shown in Figure 3 where the directory can be chosen from the file system. Otherwise, the path of the directory must be specified in the text field as shown in Figure 2.

...

Sample scenario:
Copying all the files present in the Error directory to a backup location before the processing on a file starts.

...

The directory to which files are to be moved after they are read successfully , when MOVE is selected as the Postprocessing Action.
If Is configured on different machine? is disabled, clicking the ellipsis  button will open a file dialog, as shown in Figure 3, where the directory can be chosen from the file system. Otherwise, the path of the directory must be specified in the text field as shown in Figure 2.

...

The format of the time stamp to be appended to the file name can be specified here. The descriptions of the symbols that can be used in the time stamp timestamp formats are shown below.


Figure 9: Symbols used in Timestamp format

...

  • If selected, a counter is appended to the filename of each processed file in addition to the time stamp. Appending counter to file names ensures that no two files in the Postprocessing directory will have the same name. The name of the file would look like <filename><time stamp><counter>.

...

To avoid an input/output operation getting hung for an indefinite time waiting for a request to return due to reasons like network fluctuations of the mounted directory, it is recommended to configure Connection Timeout in the runtime arguments. This is done by adding a property "-DCONNECTIODCONNECTION_TIMEOUT" with the value (in milliseconds) as per requirement in Runtime Arguments in the Properties pane.

...

When FileReader is not in scheduling mode, messages can be sent onto the input port of the component specifying the file to be read and the location of the file. The schema of the input XML message is shown in Figure 10.

Image RemovedImage Added
Figure 13: Schema of the input message

...

Tip

To understand the service better, refer to the REST Attachments example which demonstrates FileReader service features.

Adaptavist ThemeBuilder EngineAtlassian Confluence