Creating the queues
To run Video message flow you must create the required WebSphere MQ local queues.
To create the queues:
- Copy and paste the following script into a text editor, such as Notepad, and save the file.
You can choose any filename but the following instructions assume that you have called the file
videoqdefs.tst.
********************************************
* Define the queues for Video Rental *
********************************************
DEFINE QL('VIDEO_XML_IN') REPLACE
DEFINE QL('VIDEO_CWF_IN') REPLACE
DEFINE QL('VIDEO_TDS_IN') REPLACE
DEFINE QL('VIDEO_OUT') REPLACE
DEFINE QL('VIDEO_FAIL') REPLACE
- In a command window, move to the folder containing videoqdefs.tst,
and enter the following command, where MB8QMGR is the name of the queue manager that hosts the broker
to which you deploy the Video Rental sample:
runmqsc MB8QMGR < videoqdefs.tst
- Start the WebSphere MQ Explorer and check that the queues have been created.
Back to sample home