Creating the queues

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

********************************************************
* 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, move to the directory that contains wsrrqdefs.tst, and enter the following command, where WBRK61_DEFAULT_QUEUE_MANAGER is the name of the queue manager that hosts the broker to which you deploy the WSRR Connectivity sample:

    runmqsc WBRK61_DEFAULT_QUEUE_MANAGER < wsrrqdefs.tst

  3. Start WebSphere MQ Explorer to check that the queues have been created correctly.

Main Page icon   Back to Building the WSRR Connectivity sample