RE -FRAMEWORK for Queue- interview question

Hello Team,

  1. What is the status of the queue if system exceptions occur?
  2. What is the status of the queue if business exceptions occur?

Thanks
Minal Patil

@minal.patil

For both it would be failed

Cheers

Hi @minal.patil

A: It will update the status of the Queue as Failed

A: It will update the status of the queue as Business Exception

Both are exceptions, but the type of exception change

Regards

Hi @minal.patil

Final status of both queue items would be Failed status

But the in between status would be different in case of system exception if autoretry is enabled]

In the above case, queue item status if it has auto retry of 2 is New → Retried → New → Failed
This would happen if queue has auto retry set to 1 and in the case when system exception happens continously for 2 times total.

But in case of auto retry disabled, then queue item status would New → Failed for system exception, simmilar to business exception.

Hope the additional information helps you :slight_smile:

Thanks & Regards,
Nived N

Status of queue item: Retried (Before retries completion), Failed (After retries completion)
Exception Type: Application Exception

  • What is the status of the queue if business exceptions occur?

Status of queue item: Failed, Exception Type: Business Exception

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.