DLQ | |
DLQ monitor : MS71 !
How to WRITE into it
Define a cluster of 3 queue managers : TQM1, TQM2 and TQM3.How to WRITE into it (2) :
TQM1 and TQM2 share the queue WLMQ1 on the cluster. This is, TQM3 sees two "cluster" queues.
On TQM3, define an ALIAS for WLMQ1, named WLMAQ.
If an application writes - connecting to TQM3 - into WLMAQ, then the messages are split between WLMQ1 on both TQM1 and TQM2.
Now, define a queue manager external to the cluster, named TQM4.
Define a REMOTE QUEUE on it, called RMQ99, pointing to WLMAQ on TQM3. And a CHANNEL also ... and activate it !
If an application sends a message connecting to TQM4 and using this Remote Queue RMQ99, it is placed in the TQM3's Dead Letter Queue (named TQM3DLQ) with Reason Code
d'2082 = MQRC_UNKNOWN_ALIAS_BASE_Q - see.
See "Dead-Letter Header" !
put a message into a XMIT queue, and get RC = d'0271 = MQFB_XMIT_Q_MSG_ERROR Feedback indicating that a message channel agent has found that a message on the transmission queue is not in the correct format. The message channel agent puts the message on the dead-letter queue using this feedback code.
Requires "Running" channel !
How to READ from it
- DLQ handler {easy !}
- RFHutil
RFHUtil + Read Queue + "DLQ" + uncheck "Include DLQH" on last Tab + Write Queue + "Q1" + and msg is on Q1, without DLQH
- MA0T ?
- If you want to move one single message: MQMON (SupportPac MO71)
Comments
Post a Comment