Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Connector Toolkit
  3. Before you begin
  4. Develop a connector for Cloud Data Integration
  5. Develop a connector for Data Loader
  6. Import a connector
  7. Connection attributes
  8. Type system
  9. Connector metadata
  10. Partitioning capability
  11. Pushdown capability
  12. Mappings in advanced mode
  13. Manual changes to Informatica Connector Toolkit source code
  14. Runtime behavior
  15. Connector example: MySQL_Cloud
  16. Version control integration
  17. Appendix A: Metadata models
  18. Appendix B: ASO model
  19. Appendix C: Connector project migration
  20. Appendix D: Frequently used generic APIs in Informatica Connector Toolkit
  21. Appendix E: Frequently asked questions

Cloud Data Integration Connector Toolkit Developer Guide

Cloud Data Integration Connector Toolkit Developer Guide

Implement runtime messages

Implement runtime messages

To implement run-time messages that require localization, implement the logMessage() helper method in the <ConnectorID><NMOName>DataAdapter.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.

0 COMMENTS

We’d like to hear from you!