Search code examples
xsltxslt-1.0xslt-2.0ibm-mqibm-datapower

Error rule not getting triggered during MQ error


Am trying to use unit of work by setting the backout value(2) and count .

I can see in the response log as below

source-mq (FSH_POC_CorrelationID): Could not open, destination queue or topic object is unknown (Reason Code 2085)

but still the error rule is not getting triggered , instead its going through the response rule and putting the message on to backout queue. Tried changing the Process backend errors to OFF , but still the same.

Thanks & Regards, Sreevathsa A 9986186302


Solution

  • If you are using dynamic backend for MQ, you need to use skip-backside action in the request rule .

    In XSLT you need to put choose condition ,if it is success copy the data else dp:reject. In else condition ,if you reject it will trigger error rule.