Showing posts with label Step-wise how to create remote Queue in IBM MQ. Show all posts
Showing posts with label Step-wise how to create remote Queue in IBM MQ. Show all posts

Friday 31 March 2017

Step-wise how to create remote Queue in IBM MQ

Step-wise how to create remote Queue in IBM MQ



A local definition of a remote queue is a definition on a local queue manager that refers to a queue on a remote queue manager.

You do not have to define a remote queue from a local position, but the advantage of doing so is that applications can refer to the remote queue by its locally-defined name instead of having to specify a name that is qualified by the ID of the queue manager on which the remote queue is located.

Step 1: Go to All Programs and click on “Websphere MQ Explorer”.

Step-wise how to create remote Queue in IBM MQ

 Step 2: Right Click on Queue Managers and create 2 Queue Manager as Local_Queue and        Remote_Queue.
Step-wise how to create remote Queue in IBM MQ

Step-wise how to create remote Queue in IBM MQ

Step-wise how to create remote Queue in IBM MQ

Step-wise how to create remote Queue in IBM MQ

 Same way create other Queue manager "Remote_Queue".

Step 3: Create transmission queue as local queue under “Remote_Queue” manager. Right click on Queues and click on Local Queue.

Step-wise how to create remote Queue in IBM MQ

 Step 4: Put Name as “TRANS.TEST”. Click on Next.

Step-wise how to create remote Queue in IBM MQ
 Select Usage as “Transmission”.
Step-wise how to create remote Queue in IBM MQ
Step-wise how to create remote Queue in IBM MQ
Step 5: Create sender channel as REMOTE.CHANNEL in Remote_Queue manager.

Step-wise how to create remote Queue in IBM MQ

Step-wise how to create remote Queue in IBM MQ

Pass connection name as host name and port to with we intend to connect (host name will be IP of other system or localhost and port will be listener port number of other system's or local queue manager like localhost (1421)) and transmission queue will be "TRANS.TEST". Click on finish and will get successful creation of message object.

Step-wise how to create remote Queue in IBM MQ

Step 6: Create Receiver channel in Local_Queue manager with same name as sender channel REMOTE.CHANNEL in Remote_Queue manager.

Step-wise how to create remote Queue in IBM MQ


Step 7: Create Local Queue in Local_Queue manager and click on finish.

Step-wise how to create remote Queue in IBM MQ

Step-wise how to create remote Queue in IBM MQ


Step 8: Create Remote Queue Definition in Remote_Queue manager.

Step-wise how to create remote Queue in IBM MQ

Step-wise how to create remote Queue in IBM MQ

Step-wise how to create remote Queue in IBM MQ



Step 9: Right click on sender channel of Remote_Queue manager and click on start.

Step-wise how to create remote Queue in IBM MQ

If all above configuration set correctly than sender channel will start and will change status as running. correspondingly,Receiver channel will also start.

Step-wise how to create remote Queue in IBM MQ

Step 10: Right click on remote queue in Remote_Queue manager and put some test message and check receiver queue in Local_Queue manager is receiving this message or not.

Step-wise how to create remote Queue in IBM MQ

Step-wise how to create remote Queue in IBM MQ

Step 11: Go to Local_Queue manager queue and check if this message received or not.

Step-wise how to create remote Queue in IBM MQ

Step-wise how to create remote Queue in IBM MQ


Related post:

How to install IBM MQ on windows