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 WBRK61_DEFAULT_QUEUE_MANAGER is the name of the queue manager that hosts the broker to which you deploy the Video Rental sample:
runmqsc WBRK61_DEFAULT_QUEUE_MANAGER < videoqdefs.tst
- Start the WebSphere MQ Explorer and check that the queues have been created.
Back to sample home