File listeners




















For example, you can define whether file ingestion tasks are notified when new files arrive or files in the monitored location are updated or deleted. You then assign the file listener to a file ingestion task. The file listener listens to source folder, and notifies the file ingestion task when a file arrived, file updated, or file deleted event occurs. You can configure the source as a server event or a connector. The file ingestion task then runs and picks up files from the source folder.

For example, you can configure the file listener to send notification when the AS2 server receives a file. For more information about configuring file listener details, see Configuring a file listener.

Configure the following parameters and the file listener rules when you select a server source type:. Configure the following parameters to define the events that file listener listens:. Event Provider.

The server type to which the file listener listens. The type of server event to which file listener listens. The event types that you can define for the SFTP server are:. Configure the following parameters to define listener rules:. The methods to filter the key value. Filters keys that contain the value.

Click Create and Open. In the Primary page class field, specify the page class of the service activity or activities that you will specify on the Request tab. Depending on how you configured the service activity, specify a page name. On the Method tab, configure how the content of the files is organized. If the files contain multiple records and records of different types need to be processed differently, select a processing method of either record at a time or by record type.

Use the Record layout and Record type identifier sections to specify how the service rule determines where one record ends and another record begins. On the Request tab, in the Parse segments section, map the data from the file to the clipboard or a parse rule and specify the activity to use to process the data.

If the files contain multiple records and records of different types need to be processed differently, create as many rows as you need in the Parse Segments section.

If the records can be identified by type, use the Record Type field to indicate which processing definition to use for records of each type. If different records always appear in the same sequence and there is no type indicator, use the order of the processing definitions to specify which activity or parse rule to use for each record type.

Click Save. To configure a file listener, complete the following steps. Click Create. Complete the fields and click Create and open. In the Properties page, in the Source properties section, enter details for the following required fields:.

Enter the type to match the type of files that you want to listener to read and process. Configure the Process and Error Tabs. With the parameters configured, click Test connectivity and verify the listener connectivity. The File Listener Connectivity Test window opens and displays the status.

After the Connectivity test successful status displays, click Save. The File listener is ready for use. Initially there are no nodes available.



0コメント

  • 1000 / 1000