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:
- 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.
- In a command window, navigate to the directory that contains
wsrrqdefs.tst,
and enter the following command, where MB8QMGR 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 MB8QMGR < wsrrqdefs.tst
- 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