The File JSON Input adapter takes JSON messages from JSON files, and publishes them
to Event Stream Processor. The File JSON Output adapter takes data from
Event Stream Processor, formats it into JSON format, and sends it to a
JSON file.
File JSON Input Adapter Configuration
Configure the File JSON Input adapter by specifying values for the ESP connector, formatter, and transporter modules in the adapter configuration file.
File JSON Output Adapter Configuration
Configure the File JSON Output adapter by specifying values for the ESP connector, formatter, and transporter modules in the adapter configuration file.
Adapter Controller Parameters
The Adapter Controller port listens for commands. The controller.xml file is located in %ESP_HOME%/adapters/framework/config directory. This file is shared among all the adapter within the %ESP_HOME%/adapters/framework/instances directory.
Logging
The File JSON Input and Output adapter use the Apache log4j API to log errors, warnings, and information and debugging messages. A sample log4j.properties file containing the logging configuration is located in the %ESP_HOME%\adapters\framework\config directory.
Starting the File JSON Adapter
To start the File JSON adapter from the command line, start Event Stream Processor and execute the start command.