0

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

sreevathsa a
  • 149
  • 13

1 Answers1

0

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.

Joe
  • 48
  • 6
  • Hi Jyo, I don't think the above mentioned answer matches my question. My Question is , I have a http backed and to test the failure scenario , we have deleted the PUT Queue(queue on to which the response from http will be sent to ... configured in MQFSH) so that the transaction fails with 2085 error . Failure is happening and can see the error in logs but this failure is not triggering the error rule and showing response rule as success. – sreevathsa a May 31 '16 at 09:45
  • HTTP response you are storing in a PUT queue. You deleted PUT queue and you are testing. Am I correct? – Joe Jun 01 '16 at 10:18
  • Yes... But still the error rule is not getting triggered – sreevathsa a Jun 01 '16 at 11:53
  • I think it will not trigger becuase you are declaring queue in MQ FSH ,you can see in logs. If you are using dynamic queue , you can trigger rule as mentione above. You can make MQ fsh down and check the scenario it may trigger error rule. – Joe Jun 03 '16 at 10:00
  • Thts fine. How can I achieve it my scenario ? – sreevathsa a Jun 06 '16 at 09:56