There are some Mom components, such as tMomInput, tMomOutput, tMomConnection, which support WebSphere MQ. Therefore, you need to set up a WebSphere MQ Server.
This article explains how to set up a WebSphere MQ Server on Windows XP, and how to design a Talend Job using the tMomInput / tMomOutput components to transmit and receive MQ information.
You can download a WebSphere MQ installer trial version from this website http://www.ibm.com/developerworks/downloads/ws/wmq/index.html.
Windows XP 32bit,WMQv600Trial-x86_win,Talend-Studio-r104014-V5.3.1.
Unzip WMQv600Trial-x86_win.zip. Click the Setup icon.
Open [Websphere MQ Explorer].
Create a queue manager named talend. To do so, type the name of the queue manager, talend, into the Queue manager name field.
Set the other parameters as needed, then click Next.
Select the check boxes and click Next.
Select the check box in the middle of the wizard and, in the Listen in port number field, type in the number of the listening port, for example 1414.
You can see the content of your queue manager.
Create a Local Queue. To do so, right-click the Queues folder, under IBM WebSphere MQ > Queue Managers > talend nodes.
In the contextual menu, select New > Local Queue.
Follow the steps in the wizard.
Create a Server Connection channel. To do so, right-click the Channel folder, under IBM WebSphere MQ > Queue Managers > talend nodes.
In the contextual menu, select New > Server-connection Channel.
Create a new MQ account. Add your MQ client computer user in the MQ Server machine. In this example, the client is Windows 7 64bit under qwei user. You need to add qwei in the MQ Server for Windows XP, and mqm as member of qwei.
Create a new Talend Job with a tMomOutput, an input component, and a tLogRow to print the results in the console.
Set the parameters as needed.
Run the Job by pressing F6.
Go to your WebSphere MQ Server and open the [Message browser].
Contributed by Qiuhong Wei.