Adapter Components

The following table lists the adapter components:

Component

Description

JCA File Adapter (FA)

Technology adapter for reading and writing files on the local file system. It is responsible for polling files from incoming folder and passing it to the Generic File Processor.

Generic File Processor (GFP)

Framework component that is implemented in Java. It is responsible for instantiation of the File Parser, getting Plain XML from it, and passing it to OSB message Flow. It also performs payload statistics related functionality such as gathering data and generating notification messages.

File Parser (FP)

Component implemented in Java. It is specific to every different incoming format. It is responsible for parsing the incoming file, breaking the payload into logical parts (debatching), generating Plain XML for every logical part, and returning XML back to invoking GFP.

Plain XML could be any logical subset of data that can be mapped to IMD. It is an intermediate format/schema between the raw data and IMD XML. The Plain XML schema must be defined by the file parser developer.

Raw data is read in portions from the input file and converted to Plain XML before passing to OSB message flow. The reason for data being read in portions is as follows:

Assume that an input file contains readings for 100 Measuring Components. You would want to read the input file in portions for two particular reasons.

  1. Reading data of exactly one measuring component ensures that it is mapped appropriately to one IMD at a time.

  2. Reading data in portions ensures that the entire file is not loaded into memory, which could cause resource issues.

Inbound Proxy Service

OSB proxy service that contains FA-related configuration settings. It statically routes all messages to Processing proxy Service.

Processing Proxy Service (PPS)

OSB proxy service that validates and transforms Plain XML. This service is necessary for catching errors that occur before Plain XML is transformed to IMD or Device Event seeder structures.

Result Processing Proxy Service (RPPS)

OSB proxy service that processes transformed data. This service is necessary for catching errors that occur after Plain XML is transformed to IMD or Device Event seeder structures.