Creating Queue Processor: How the items are Requeued in queue processor

Hello All,

I have created a custom queue processor which processes records without getting any locks and post some data to external system by using POST method in Connect-Rest.

So my queue processor is working fine, but if any failures occurs or if there any error messages on the page it is not getting requeued (I am expecting to utilize retry mechanism of the queue processor here which is set to 3)

I would appreciate if anybody can explain how the requeuing process works,

What type of failures are requeued ?

Do we have to set some properties in the QueuePage?(while error handling.. I saw ootb queue processors there i dont see any handling)

After 3rd(last retry) failure how the items are pushed to broken queue, what properties are set or we need to identify?

@Soundane If you do Activity-Set-Status as fail it will go for retrial, but i am not sure whether it will stop after max attempts in Queue processor rule.

If it is not then increment integer property on primary page and don’t set Activity-Set-Status if it crosses max attempts.

Thanks @kartheekv , It worked for me. I was relying on Page error messages for re-queuing.