cancel
Showing results for 
Search instead for 
Did you mean: 

how to cancel retry message in SAP CPI (AS2 Sender adapter)

anurag_sinha3
Participant

Hi,

I am using AS2 sender adapter but incase of error it keep retyring .

Could some one please help me to cancel the message in case of retry in Iflow.

message are keep retrying, after using AS2 sender adapter

Is there any setting i have missed bcz of that messages are keep retrying and not getting cancelled

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member666312
Active Participant

hi anurag.sinha3,

In CPI we cannot cancel the messages as like in PI/PO. For the case of the AS2 sender, the messages will be stored in the JMS queues. For this go to JMS QUEUE tab and delete the entry in the queue. Go to a queue and find the where used. Delete the same from the entry of queue..

Then retry will not happen.

Thanks and Regards,
Vijay.

rolfhoven
Explorer

So this Blog here is not valid anymore ?

https://blogs.sap.com/2017/06/19/cloud-integration-configure-asynchronous-messaging-with-retry-using...

${header.SAPJMSRetries} > '2'

philippeaddor
Active Participant
0 Kudos

It is still valid and working - I'm using it. After the check on this header property (in a router), set the message to escalated or end in order to get the JMS queue entry deleted.