Registering the UPES for automatic start through MQSeries (Triggering)
- Open the MQSeries Explorer
- Open the Object Tree to Console Root\IBM MQSeries\Queue Managers\<QMNAME>\Advanced\Process
Definitions where <QMNAME> is the name of your queue manager (default:
FMCQM)
- Right-click 'Process Definitions' and select 'New\Process Definition'
- Enter the following values (leave unspecified fields empty):
Process Definition Name: WEBCREDIT.UPES
Description: UPES for the WebCredit Example Process
Application Type: Windows NT
Application Identifier: <MQWFDir>\scenario\WebCredit\CustomerUPES\run_trigger.bat
- Press OK
- Open the Object Tree to Console Root\IBM MQSeries\Queue Managers\<QMNAME>\Queues
- Right click the 'WebCreditInput' Queue and select 'Properties'
- Select the 'Triggering' Tab
- Enter the following values (leave unspecified fields empty):
Trigger Control: On
Trigger Type: First
Trigger Depth: 1
Trigger Message Priority: 0
Initiation Queue Name: FMCTRIGGER
Process Name: WEBCREDIT.UPES
- Make sure the batch file <MQWFDIR>\scenario\WebCredit\CustomerUPES\run_trigger.bat
reflects your environment (adapt the PATHs in the various variables).
- Next time a message arrives in the UPES queue the UPES will be started
automatically.