Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

Examples for the DLQ solution


The following examples show some possible combinations of parameters that you can specify when you invoke the DLQ solution.

These examples are what you would specify on the Rules Processor Action Specification panel on the EXEC field.

Warning

Example

In this example, the Rule fires when a persistent dead letter message (MQPER_PERSISTENT) arrives and the destination queue is BANK.EQUITY.LOAN.

The DLQ solution makes 3 attempts to PUT the message to its original destination queue. If all three attempts fail, the solution moves the message the BANK.EQUITY.LOAN.FAIL queue. A MainView AutoOPERATOR ALERT is also created and placed in the MQ_FAIL ALERT queue.

QMQDEDQ3 DQ(BANK.EQUITY.LOAN) PS(MQPER_PERSISTENT) DP(R) R(3) FD(M) MQ(BANK.EQUITY.LOAN.FAIL) AL(MQ_FAIL)
Warning

Example

In this example, the Rule fires when a non-persistent message arrives on the dead letter queue whose destination queue is PARTS.INQUIRY. The action taken is to delete the message from the dead letter queue.

QMQDEDQ3 DQ(PARTS.INQUIRY) PS(MQPER_NOT_PERSISTENT) DP(D)
Warning

Example

In this example, the Rule fires when a message arrives on the dead letter queue whose destination queue is SUPPLIES.INVENTORY.REPLIES and whose message type is MQMT_REPORT. The action taken is to attempt one retry at putting the message on its intended destination queue. If that retry attempt fails then the message will be left on the dead letter and ignored.

QMQDEDQ3 DQ(SUPPLIES.INVENTORY.REPLIES) MT(MQMT_REPORT) DP(R) R(1) FD(I)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

MainView AutoOPERATOR 8.1