Trần Tiến Đức created MAILBOX-372:
-------------------------------------

             Summary: EventBus error handling
                 Key: MAILBOX-372
                 URL: https://issues.apache.org/jira/browse/MAILBOX-372
             Project: James Mailbox
          Issue Type: New Feature
            Reporter: Trần Tiến Đức


MailboxListener should get retried upon exceptions.

Write EventBusContract test to demonstrate MailboxListener get retired. => over 
contract that could be optional contract

Implement this retry logic in the InVmDelivery + RabbitMQ eventbus with a 
hardcoded maxRetry constant + exponential backoff.

 

A timeout on listener execution is more related to at least once/at most once 
delivery concerns of the RabbitMQEventBus
The event bus should retry upon exceptions, with a max retry + exponential 
backoff. That maxRetries ensures bugs do not trigger infinite loops.
We need a dead letter equivalent for audit/rescheduling purposes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to