Skip to Content
0

Cancel message before processing

Nov 14, 2016 at 01:49 PM

126

avatar image
Former Member

Hello All,

We have a scenario where we would like to "Cancel" a message in persistence runtime queue, which are in status - "In Process" . Please note that this message is not even processed once.

Assume that we have received a wrong message and it need not be processed. Since, it is not yet processed, we hope there should be a way to cancel this message from processing.

When we cancel this message in AIF Monitor - it is changed to status "Cancelled" and the same is updated only in interface index table.

But when we run the report "/AIF/PERS_RUN_EXECUTE", this message is picked up for processing as it is still in status new or ready in table /AIF/PERS_QMSG.

What would be the best solution(preferably standard) for this scenario?

If custom solution is the only way, could we achieve it by defining a check to validate if this message is already in status cancelled in index table or read application log message and throw an error. Please provide your suggestion on this approach.

Thanks in advance.

Best Regards,

Raja

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers