Browse Source

Minor improvements

pull/22194/head
Halil İbrahim Kalkan 1 year ago
parent
commit
bf934f7a3e
  1. 4
      docs/en/Community-Articles/2025-02-20-Using-OutboxInbox-Pattern-for-Reliable-Event-Handling-in-a-Multi-Module-Monolithic-Application/POST.md

4
docs/en/Community-Articles/2025-02-20-Using-OutboxInbox-Pattern-for-Reliable-Event-Handling-in-a-Multi-Module-Monolithic-Application/POST.md

@ -49,7 +49,7 @@ When implementing this flow, we need to ensure:
- Transaction consistency when modules process messages
- Reliable message delivery (including persistence, confirmation, and retry mechanisms)
Using only the ABP framework's `DistributedEventBus` cannot meet these requirements, so we need to add a new mechanism.
Using the default implementation of the ABP framework's distributed event bus cannot meet these requirements, so we need to add a new mechanism that is also provided by the ABP Framework.
## Outbox/Inbox Pattern Solution
@ -122,6 +122,8 @@ Configure<AbpDistributedEventBusOptions>(options =>
});
```
> Here, the `EventSelector` and `HandlerSelector` checks only a single type. If you have multiple events and event handlers, you can check the given type if it is included in an array of types.
**Product Module Configuration**
It only receives `EntityCreatedEto<UserEto>` and `OrderPlacedEto` events and executes `ProductsOrderPlacedEventHandler` and `ProductsUserCreatedEventHandler`. It does not send any events now.

Loading…
Cancel
Save