Creating the queues

To run the sample message flows, you must create the required WebSphere MQ local queues. The following script, when it is run, creates the queues that you require:

********************************************************
* Define the queues for WSRR_Connectivity Main Flow *
********************************************************
DEFINE QL('WSRR_IN') REPLACE
DEFINE QL('WSRR_OUT') REPLACE

To create the queues:

  1. Copy and paste the script into a text editor, and save the file. You can choose any file name, but the following instructions assume that you have called the file wsrrqdefs.tst.
  2. In a command window, navigate to the directory that contains wsrrqdefs.tst, and enter the following command, where IB9QMGR is the name of the queue manager that hosts the broker to which you have deployed the WebSphere Service Registry and Repository Connectivity sample:
    runmqsc IB9QMGR < wsrrqdefs.tst
  3. You can use the WebSphere MQ Explorer to check that the queues have been created correctly.

Back to Building the WebSphere Service Registry and Repository Connectivity sample