Processing Life Cycle

This section outlines the life cycle from the initial input file to the initial measurement output. Refer to OSB Processing Terms and Acronyms for descriptions of the abbreviations and acronyms used in this chapter.

See the Logic Sequence Diagram for general description of how the components interact.

OSB Processes

  1. The JCA File Adapter starts reading the file.

  2. FA instantiates and initializes the GFP.

  3. FA invokes GFP passing an open stream to the incoming file.

  4. GFP sends D1-PayloadStatistics notification message to FA.

  5. GFP instantiates and initializes (if it is not done yet) the FP that is defined in the Inbound Proxy properties for parsing the file.

  6. GFP invokes the FP (See File Parser Processes below).

  7. In case of error in FP it invokes GFP. GFP sends D1-PayloadErrorNotif notification message to FA.

  8. GFP gets the Plain XML as a return from FP.

  9. GFP returns the Plain XML to the FA.

  10. The Plain XML is passed via InboundProxyService to Processing Proxy service (PPS). In PPS’s message flow, the Plain XML is validated and transformed to IMD XML.

  11. PPS passes the IMD to Result Processing Proxy service (RPPS). RPPS publishes the IMD XML to a JMS queue, which is then picked up by Message Driven Bean (MDB).

  12. OSB processes 3 through 9 are repeated until FP returns NULL on process 9.

  13. GFP sends D1-PayloadSummary notification message to FA.

File Parser Processes

  1. FP starts reading the input stream

  2. FP instantiates a JAXB object of the type of Plain XML. The JAXB related interfaces and implementation classes are generated by using JDeveloper (See Oracle Fusion Middleware User's Guide for Oracle JDeveloper or Generating Java Classes from XML Schemas).

  3. FP reads the input stream in segments until it hits a logical end of data with which it could create a Plain XML.

  4. FP populates the data that is read into the Plain XML JAXB object.

  5. FP marshals the JAXB object into Plain XML and passes back GFP. If the end of file (EOF) is reached FP passes back NULL.

  6. File parser processes 2 through 5 are performed for every invocation by GFP.