Table of Contents

  1. Preface
  2. Introduction to the Informatica Connector Toolkit
  3. Installing and Upgrading the Informatica Connector Toolkit
  4. Building an Adapter
  5. Connection Attributes
  6. Type System
  7. Metadata Objects
  8. Partitioning Capability
  9. Run-time Behavior
  10. Adapter Example: Instagram
  11. Adapter Example: MySQL
  12. Adapter Example: YouTube
  13. Metadata Models
  14. ASO Model
  15. Adapter Project Migration
  16. Frequently Asked Questions

Informatica Connector Toolkit Developer Guide

Informatica Connector Toolkit Developer Guide

Implement Run-Time Messages

Implement Run-Time Messages

To implement run-time messages that require localization, implement the logMessage() helper method in the <ConnectorID><NMOName>DataAdapter.<C or Java> file. The logMessage() method logs messages to the session log.
The following Java sample code shows the message parameters passed to the logMessage() method:
logMessage(Messages.Test_CONN_SUCC_200, "admin", 5040, 138.76);
The following C sample code shows the message parameters passed to the INFAADPLogMessage() method:
INFAADPLogMessage(infaDataSessionHandle, INFA_MSG_ERROR,INFA_TRACE_NONE, CONN_ID,"admin",12,12.3);
To implement the run-time messages that do not require localization, implement the logger.logMessage() method.

Updated May 15, 2019


Explore Informatica Network