Base solution for your next web application
Open Closed

Retry logic in EventBus #5343


User avatar
0
OriAssurant created

We're using MVC5.* + AJ1.* Just wondering whether there is a built-in retry logic in abp EventBus? (Immediate Retry or Delayed Retry, etc... ) And is the abp EventBus maintaining an in-memory queue or list to keep track of events?

Thank you,


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    EventBus is a dictionary of one or more corresponding processing method factories for an event type.

    Call a handler when the event is fired. That's it. So there are no retry, delay, etc.

    You can look at the code [https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp/Events/Bus/EventBus.cs#L40])