Creating the queues

You must create the required WebSphere MQ local queues to run your message flows. You can use the following script to create the queues that you require for the sample.

***************************************************************
*  Define the queues for Security Identity Propagation Sample *
***************************************************************
      DEFINE QL('SECURITYIDFROMMQIN')   REPLACE
      DEFINE QL('SECURITYIDFROMMQOUT')  REPLACE
      DEFINE QL('SECURITYIDFROMMSGIN')  REPLACE
      DEFINE QL('SECURITYIDFROMMSGOUT') REPLACE
	 

To create the WebSphere MQ 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 secIdentityPropQDefs.mqs.
  2. In a command window, navigate to the directory that contains secIdentityPropQDefs.mqs, and enter the following command, where MB8QMGR is the name of the queue manager that hosts the broker that your message flows are deployed to:

    runmqsc MB8QMGR < secIdentityPropQDefs.mqs

  3. You can use the WebSphere MQ Explorer to check that the queues have been created correctly.

Back to Building the Security Identity Propagation sample

Back to sample home