Adapters

In addition to the full set of adapters provided in version 5.1 SP02, Event Stream Processor 5.1 SP03 includes support for 13 new external (Java) adapters. These adapters were written using the new ESP adapter toolkit added in this release.

New Adapters in Event Stream Processor 5.1 SP03
Adapter Description
File CSV Input and Output Adapters

The File CSV Input adapter obtains CSV data from files on a local hard disk, and publishes it to Event Stream Processor. The File CSV Output adapter reads rows from Event Stream Processor, and writes this data to a specified CSV file.

File JSON Input and Output Adapters

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, changes it to JSON format, and sends it to a JSON file.

File XML Document Input and Output Adapters

The File XML Document Input adapter loads data from an XML document to a project in Event Stream Processor. The File XML Document Output adapter outputs data from a project in Event Stream Processor to an XML document.

File XML Record Input and Output Adapters

The File XML Record Input adapter reads XML list text files, and inputs this data to Event Stream Processor. The File XML Record Output adapter reads rows from Event Stream Processor, and writes this data to XML list files.

FTP CSV Input and Output Adapters

The FTP CSV Input adapter obtains CSV data from an FTP server, and publishes it to Event Stream Processor. The FTP CSV Output adapter takes data from Event Stream Processor, formats it to CSV format, and saves it to a file on an FTP server.

FTP XML Input and Output Adapters

The FTP XML Input adapter brings data from an XML document on an FTP server to Event Stream Processor. The FTP XML Output adapter reads XML data from an ESP project, writes it to an XML document, and uploads this file to the FTP server.

JDBC Input and Output Adapters

The JDBC Input adapter receives data from tables in a database, and inputs it to Event Stream Processor. The JDBC Output adapter sends data from Event Stream Processor to a database table.

JMS CSV Input and Output Adapters

The JMS CSV Input adapter reads CSV data from a JMS server, and outputs this data to Event Stream Processor. The JMS CSV Output adapter sends CSV data from Event Stream Processor to a JMS server.

JMS Object Array Input and Output Adapters

The JMS Object Array Input adapter receives object array data from a JMS server and publishes it to Event Stream Processor. The JMS Object Array Output adapter takes data from Event Stream Processor, formats it in object array format, and sends it to a JMS server.

JMS XML Input and Output Adapters

The JMS XML Input adapter obtains XML list string messages from a JMS server, and publishes them to Event Stream Processor. The JMS XML Output adapter takes XML data from Event Stream Processor, formats it in XML list format, and sends it to a JMS server.

Socket CSV Input and Output Adapters

The Socket CSV Input adapter obtains CSV string data from a socket server, and publishes it to Event Stream Processor. The Socket CSV Output adapter takes data from Event Stream Processor, formats it in CSV format, and outputs it to a socket server.

Socket JSON Input and Output Adapters

The Socket JSON Input adapter obtains streaming data from a socket server, formats data in JSON format, and inputs it to Event Stream Processor. The Socket JSON Output adapter takes JSON data from Event Stream Processor, formats it to ByteBuffer, and transports it to a socket server, in streaming format.

Socket XML Input and Output Adapters

The Socket XML Input adapter obtains XML data from a socket server, and publishes it to Event Stream Processor. The Socket XML Output adapter takes data from Event Stream Processor, formats it to XML list format, and outputs it to a socket server.

For a full list of supported adapters, see Adapters Supported by Event Stream Processor > Adapter Summary in the Adapters Guide.

Use the new Event Stream Processor adapter toolkit to build custom external adapters. The toolkit consists of several component modules, such as transporters, formatters, and EspConnectors (EspSubscriber and EspPublisher). It also contains numerous standard transporters and formatters that you can re-use when creating a custom external adapter.

Standard Transporters in Event Stream Processor 5.1 SP03
Transporter Description
File Input Transporter

The File Input transporter reads data from local files, wraps the data with a string, and sends it to the next module specified in the adapter configuration file.

File Output Transporter

The File Output transporter obtains data from the previous module specified in the adapter configuration file, and writes it to local files.

FTP Input Transporter

The FTP Input transporter reads binary data from files on an FTP server, wraps it up with ByteBuffer, and sends it to the next configured module in the adapter configuration file.

FTP Output Transporter

The FTP Output transporter obtains data from the previous module configured in the adapter configuration file, and saves it to files on the FTP server.

JDBC Input Transporter

The JDBC Input transporter reads database records using JDBC and sends them to the next module specified in the adapter configuration file.

JDBC Output Transporter

The JDBC Output transporter obtains data from previous modules specified in the adapter configuration file, and writes it to a database table using JDBC.

JMS Input Transporter

The JMS Input transporter receives JMS messages from a JMS server, and sends them to the next module that is configured in the adapter configuration file.

JMS Output Transporter

The JMS Output transport obtains data from the previous module that is configured in the adapter configuration file, wraps it up, and sends it to a JMS server.

Socket Input Transporter

The Socket Input transporter reads binary data from the socket interface, wraps it with ByteBuffer, and sends it to the next module that is configured in the adapter configuration file.

Socket Output Transporter

The Socket Output transporter obtains data from the previous module configured in the adapter configuration file, and outputs it using the socket interface.

Standard Formatters in Event Stream Processor 5.1 SP03
Formatter Description
CSV String to ESP Formatter

The CSV to ESP formatter translates CSV strings to AepRecord objects.

ESP to CSV String Formatter

The ESP to CSV String formatter translates AepRecord objects to CSV strings.

JSON String to ESP Formatter

The JSON String to ESP formatter translates JSON strings to AepRecord objects.

JSON Stream to JSON String Formatter

The JSON Stream to JSON String formatter reads data from InputStream, splits it into standalone JSON message strings, and sends these message strings to the next module that is configured in the adapter configuration file.

ESP to JSON Stream Formatter

The ESP to JSON Stream formatter translates AepRecord objects to JSON strings, and sends the JSON strings to next streaming output transporter that is configured in the adapter configuration file.

Object List to ESP Formatter

The Object List to ESP formatter converts an object list to an ESP row.

ESP to Object List Formatter

The ESP to Object List formatter converts an ESP row to an object list.

Stream to String Formatter

The Stream to String formatter reads streaming data from an input stream, and splits it into Java strings.

String to Stream Formatter

The String to Stream formatter writes Java strings to output streams.

String List to ESP Formatter

The String to ESP formatter converts a string list to an ESP row.

ESP to String List Formatter

The ESP to String List formatter converts anĀ ESP row to a string list.

XML String to ESP Formatter

The XML String to ESP formatter translates ESP XML strings to AepRecord objects.

ESP to XML String Formatter

The ESP to XML String formatter translates AepRecord objects to ESP XML string.

XMLDOC Stream to ESP Formatter

The XMLDOC Stream to ESP formatter parses XML format strings, extracts data according to the schema file specified in the adapter configuration file, and translates this data to AepRecord objects.

ESP to XMLDOC String Formatter

The ESP to XMLDOC String formatter translates AepRecord objects to XML format string according to the schema file specified in the adapter configuration file.

For additional information on the adapter toolkit and the standard transporter and formatter modules, see the Event Stream Processor Adapter Toolkit section in the Building Custom Adapters guide.