![]() |
VOOZH | about |
Informatica provides a powerful, elegant means of transporting and transforming your data. By utilizing the CData JDBC Driver for RabbitMQ, you are gaining access to a driver based on industry-proven standards that integrates seamlessly with Informatica's powerful data transportation and manipulation features. This tutorial shows how to transfer and browse RabbitMQ data in Informatica PowerCenter.
To deploy the driver to the Informatica PowerCenter server, copy the CData JAR and .lic file, located in the lib subfolder in the installation directory, to the following folder: Informatica-installation-directory\services\shared\jars\thirdparty.
To work with RabbitMQ data in the Developer tool, you will need to copy the CData JAR and .lic file, located in the lib subfolder in the installation directory, into the following folders:
Follow the steps below to connect from Informatica Developer:
cdata.jdbc.api.APIDriver
RabbitMQ is an open-source message broker that supports multiple messaging protocols. The RabbitMQ Management HTTP API provides HTTP-based access to management and monitoring data for a RabbitMQ server. The API exposes information about virtual hosts, exchanges, queues, bindings, connections, channels, consumers, users, permissions, policies, and cluster-wide statistics.
The Management plugin must be enabled on the RabbitMQ server for the HTTP API to be available. By default, the management interface listens on port 15672.
RabbitMQ Management HTTP API uses HTTP Basic authentication. You must supply the username and password of a RabbitMQ management user.
To enable access to the management API:
After configuring your RabbitMQ server, set the following connection properties to connect:
Profile=C:\profiles\RabbitMQ.apip;AuthScheme=Basic;URL=http://localhost:15672;User=guest;Password=guest;
The RabbitMQ profile provides access to the following tables:
For assistance in constructing the JDBC URL, use the connection string designer built into the RabbitMQ JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.api.jar
Fill in the connection properties and copy the connection string to the clipboard.
๐ Using the built-in connection string designer to generate a JDBC URL (Salesforce is shown.)A typical connection string is below:
jdbc:api:Profile=C:\profiles\\RabbitMQ.apip;AuthScheme=Basic;URL=http://localhost:15672;User=guest;Password=guest;
After you have added the driver JAR to the classpath and created a JDBC connection, you can now access RabbitMQ entities in Informatica. Follow the steps below to connect to RabbitMQ and browse RabbitMQ tables:
You can now browse RabbitMQ tables in the Data Viewer: Right-click the node for the table and then click Open. On the Data Viewer view, click Run.
๐ Table data and metadata in the Data Viewer. (Salesforce is shown.)Follow the steps below to add RabbitMQ tables to your project:
Follow the steps below to add the RabbitMQ source to a mapping:
Follow the steps below to map RabbitMQ columns to a flat file:
To transfer RabbitMQ data, right-click in the workspace and then click Run Mapping.
๐ The completed mapping. (Salesforce is shown.)Connect to live data from RabbitMQ with the API Driver
Connect to RabbitMQ