Versions Compared

Key

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

File-tail event receiver reads the tail of a given file and feeds that to the product engine. It only supports text input mapping type.

Table of Contents
maxLevel3

Creating a file-tail event receiver

...

Adapter property
Description
Configuration file propertyExample

File path

Absolute path of the text file to read the data from.

filepath
/Users/User/Desktop/abc.txt

Delay

The delay between checks for new content on file in milliseconds.

delayInMillis
10

Start From End

Set to true to tail from the end of the file, false to tail from the beginning of the file.

startFromEnd
true

Related samples

For more information on file-tail event receiver type, see the following samples in WSO2 CEP Documentation.