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.

...

Info

After entering the above adapter properties, select the  Event Stream  to which you want to map the incoming events, and the  Message Format   which you want to apply on the receiving events . Also, click  Advanced  to define custom input mappings based on the  Message Format  you selected. For more information on custom input mapping types, see Input Mapping Types.

You can also d efine the respective adapter properties of the event receiver based on the transport type within the  <from>  element of the event receiver configuration in the <PRODUCT_HOME>/repository/deployment/server/eventreceivers/ directory as follows.

...

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

...