Replication delivered status

kinjald91769604

21-05-2020

Hi,

 

We need to capture the status of asynchronous replication when the contents are moved to publish instance. We've tried to use replicationStatus.isDelivered and replicationStatus.isPending. But we're not getting accurate values in case the number of retries are limited. As after the number of retries are exhausted and the replication has failed, isDelivered is returning true and isPending is returning false.

 

Can anyone please help?

Answers (1)

Answers (1)

ArpitVarshney

MVP

21-05-2020

Hi @kinjald91769604 ,

 

Not sure why it is happening. BTW have you tried using the below method

replicationStatus.getPending()

If the list returns from this method contain your content which means it is still in the queue and not active.

 

Regards,

Arpit Varshney