Mercator offers a wide variety of adapters for input and output. When you begin developing your map, it is easiest to start with the File adapter. However, you will eventually want to add the commands for the adapter you will really be using. This document outlines the steps required for the MQSeries adapter, which is commonly used.
1. Using Mercator Map Designer, open the map you are developing.
2. Edit the Input or Output card of the executable map as appropriate.
3. Change the AdapterSource from File to MQSeries (server).
4. Type the following in the AdapterSourceCommand: -QMN
a. Queue Manager is what is on the UNIX Mercator server.
b. Queue Name is what is on the UNIX Mercator server.
c. The –QTY parameter means how many messages you are expecting. The s means any unlimited amount.
d. The –LSN parameter means how many seconds the map will listen to receive the messages.
e. The –t parameter means it will set a trace to monitor errors in receiving messages from or to MQSeries. You will want to remove this before moving to production.
5. Change OnSuccess to Delete.
6. Click OK.
7. To test the map, follow the instructions in the documents .