Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-4033

Option for EventBus to not propagate error when already store failed event in Dead Letter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • eventbus, rabbitmq
    • None

    Description

        1. Why

      Today given e.g. RabbitMQ is down, EventBus can not dispatch the event to RabbitMQ, and it would persist the event into the dead letter (in the database). 

      Today even when the event is stored in the dead letter, EventBus still propagates the error back and fails the original caller IMAP APPEND or IMAP STORE for example (while the mail is stored and just Added event has not been processed yet while being in dead letters).

      Given today we are more or less robust on auto reprocessing the failed event (from event dead letters), we could consider not propagating the error back and failing the original call.

        1. How

      Add a boolean configuration entry in `rabbitmq.properties` to enable/disable EventBus error propagation upon storing failed events in dead letters.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              QuanTH Tran Hong Quan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m