How can I make EntityCreatedEto "Pre-Defined Events" In Distributed Event Bus consume from multiple Applications?
more explain
abp use "direct exchange", how can I change some "Pre-Defined Events" to fanout exchange or how can I use one message and multiple consumers?
- ABP Framework version: v5.1.3
 - UI type: Angular
 - DB provider: EF Core
 - Tiered (MVC) or Identity Server Separated (Angular): yes
 
4 Answer(s)
- 
    0
Dears,
Kindly your support
 - 
    0
Hi,
ABP provided options that you can use it to change the exchange type:
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.EventBus.RabbitMQ/Volo/Abp/EventBus/RabbitMq/AbpRabbitMqEventBusOptions.cs#L15
 - 
    0
how can I change some "Pre-Defined Events" to fanout exchange and other Events direct?
 - 
    0
Hi,
Sorry, the Eventbus system supports the such case.
I think you don't need to do this, ABP uses routing key to binding messages. you can define ETOs in a shared project and make sure every application references it.
Every application should use the same exchange name
You can see an example of this in the microservice template:
 

