Configure Gateway for using Viewpointe
A Gateway installation that uses Viewpointe requires a local IBM® MQ
server with three queues that are defined, two sending and one receiving. When the IBM MQ server is installed, the tools must be included so the Java™ API is
available. After the IBM MQ
Java API is installed, the Gateway Server might need to
have com.ibm.mq.jar added to the class path.
The properties for shared archive are shown in the following list.
- saEnable
- Enable shared archive by setting this parameter to true.
- cdLocalReceiveDir
- Viewpointe shared archive does not use the parameters in the IBM MQ configuration options, but uses this Connect:Direct® configuration option keyword.
- saMQSendTaskQueue
- Set this parameter to the sending queue of the local IBM MQ server. This sending queue forwards the message to the TASK.Q queue of the Viewpointe IBM MQ server.
- saMQSendSubtaskQueue
- Set this parameter to the sending queue of the local IBM MQ server. This sending queue forwards the message to the SUBTASK.Q queue of the Viewpointe IBM MQ server.
- saMQRecvSubtaskQueue
- Set this parameter to the receiving queue of the local IBM MQ server. This receiving queue gets any messages from the LOCAL.SUBTASK.Q queue of the Viewpointe IBM MQ server.
If the saEnable parameter is set true for Gateway, the parameters for the IBM MQ server must be set to valid input and output queues or the Gateway exits on startup. If only one queue is working during testing, the other queues can be set to blank. This setting allows Gateway to be started. Some null pointer errors might occur, but Gateway starts. After testing and all queues are operable, all the queue parameters must be completed with the defined local IBM MQ server queue names.