Steps to configure Connectivity between WebSphere MQ and IBM MessageSight
Maya_Anilson 270000S9YA Comments (3) Visits (8386)
IBM MessageSight and WebSphere MQ can be interconnected for use in the same solution.
The MQ Connectivity feature of IBM MessageSight enables messages from IBM MessageSight to be forwarded to WebSphere MQ, or for messages from WebSphere MQ to be forwarded to IBM MessageSight.
To use MQ Connectivity, you must configure two components:
In the below example, I will show you how messages published to a topic on IBM MessageSight can be forwarded to a queue on WebSphere MQ. MessageSight connects to a WebSphere MQ queue manager as a client. Hence, we need to define a server connection channel and a listener on the queue manager.
Following command defines the queue manager and the other required objects on the queue manager. This example will not be using any of the security features like SSL or ChannelAuth. The MCA user 'MUSR_MQADMIN' used in this example is defined on windows platform when MQ is installed and this userid is a member of the 'mqm' group which has all the authorities required to administer MQ.
alter qmgr CHLAUTH(disabled)
Now let us configure MQ Connectivity on MessageSight. This example can be used along with the MQTT application AutoRemote which can be downloaded from the below link. There are 2 parts to this application, a Remote application and a Car application. These applications publishes messages to a topic on MessageSight. The Remote application publishes to Auto
By using the MQ connectivity feature you can forward the messages that are published to the topic AutoRemote/* on MessageSight to a WebSphere MQ queue AutoRemoteQ_on_MQ.
I will be using the WebUI of MessageSight to show you how the MQ Connectivity configuration can be done. Select MQ Connectiivity option from the Messaging tab. Add the queue manager connection properties by using the WebUI.
In the Connection Name you should specify the Host IP Address on which the queue manager is running and the port number of the queue manager Listener.
Now configure the Destination Mapping Rules to forward the messages published on a topic on MessageSight to a queue on the WebSphere MQ queue manager.
The Rule Type decides the action to be performed 'MessageSight topic to MQ Queue', Source is a Topic or a Queue on MessageSight and Destination is a Topic or Queue on the WebSphere MQ queue manager. In the above example messages published to the topic 'AutoRemote/*' is forwarded to the AutoRemoteQ_ON_QM75 on the queue manager QM75.
If you have completed this configuration, then you can run the AutoRemote application to see how MQ Connectivity works.