Setting Circuit Breaker threshold to infinite

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Setting Circuit Breaker threshold to infinite

I have a requirement, where the circuit breaker should retain the messages in the queue if the processing service is down.

I tried setting threshold to -1, but it still retries for 6 times and then posts the message to the DLQ.

Can anyone please tell me how can I retain a message in the queue unless and until the processing service is back up and not move the messages to the DLQ.

Thanks in advance.

Best Regards
Shantanu Raizada
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.