Skip to Content
0
Jul 18, 2022 at 11:57 AM

SAP Event Mesh - AMQP Retry with defined interval

772 Views

Hi Experts,

We are trying to setup Retry for CPI iflow (with defined time interval) with AMQP sender adapter which is connected SAP Event Mesh. I am trying to follow the approach mentioned in below blog under section Configure Delayed Retry Processing

https://blogs.sap.com/2019/11/20/cloud-integration-connecting-to-external-messaging-systems-using-the-amqp-adapter/

I've configured AMQP Sender as follows, with zero retries and Consume expire messages as True.

image.png

In Event Mesh, I've configured 2 Queues.

1st Queue (sap/op/eventmesh/outbounddelivery/cpi/poc) is the original queue from where CPI iflow will pick up the message.

image.png

2nd Queue (sap/op/eventmesh/outbounddelivery/cpi/poc/retry) is DMQ where messages will move post 1st queue Max TTL (10s).

In 2nd Queue, I've configured 1st queue as DMQ with 10s as max TTL.

image.png

Ideally, after 20s (10s + 10s), message should get placed in 1st queue and 2nd message retry happen in CPI.

However, in actual scenario - if CPI iflow fails after reading message from 1st queue, after 10s (max TTL) ; message moves from 1st queue to 2nd queue i.e. DMQ however after next 10s i.e. 2nd Queue (DMQ) max TTL, message is automatically getting deleted/removed.

Could you please let me know if there is any misconfiguration done from my end or this is ideal behavior?

Also, let me know if there is other workaround to achieve this requirement.

Thanks,

Vivek

Attachments

image.png (36.3 kB)
image.png (49.7 kB)
image.png (49.7 kB)