File listener

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

File listener:

1. In the file listener, what type of file you are using?

CSV

2. What is the advantage of the csv file?

So this kind of file only read the first row, not the process (not take this to database). Every attribute is separated by
comma.

3. While we are processing the data or accessing the data, how can you handle the exception when the error comes?

In the file listener, in one tab , we have the retry mechanism which helps pick the record to process once process
failed. Even though it getting the error, file listener save that file with err extension. Send it to the completed folder.

1. Explain the flow when we are working with file listener?


There is folder. Whenever the file comes to this folder, automatically file listener will pick that file and hand it
over to service file. Service file process data by using the parse delimiter rule. This parse delimiter rule set
values to the clipboard properties and then activity will take that data to data type.
CSV FILE>FOLDR>FILE LISTENER>SERVICE FILE>PARSE RULE>ACTIVITY
2. What parameters we have to give while we are creating the file listener and service file?
For service file:
Service tab: page (it will become primary page for the service)
Methods: processing (record at a time, file at a time, by record at a time)
Request tab: activity (to process the data)
For file listener:
Properties tab: source location, source mask and servie package
Process tab: file operation (keep or delete)
Error tab: attempt recovery and number

You might also like