IDataProcessor

IDataProcessor should be implemented for processing extracted data such as writing to files, cleaning, sending e-mails, and so on. Data Extractor uses IDataProcessor concrete implementation for processing data.

In async mode, framework sends async messages and each message contains IDataProcessor. IDataProcessor provides following APIs.

  • start – Invoked only once and should be used for one time processing such as opening connections, file and so on. Start receives parameters from web service request and context.
  • process – Should contain logic for processing data. In async processing, process is invoked each time async Message is de serialized. Process receives parameters from web service request and context.
  • end – Invoked only once at the end of processing. Should be used for one time processing in the end such as closing a file.

For details on IDataProcessor interface, click the Help icon in the TIBCO MDM application. In the Contents section, click API Reference > Java API Reference Pages. Click the Java API Reference link in the left pane. The detailed description of each class and method in theTIBCO MDM Java API references are provided.