abp icon indicating copy to clipboard operation
abp copied to clipboard

When publish a _distributedEvent without define a handler ,it will auto disappear in rabbitmq?

Open xyfy opened this issue 2 years ago • 5 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

                 await _distributedEventBus.PublishAsync(new QueryEto
                        {
                            BatchId = toGetBatchId,
                            CarrierId = item.CarrierId,
                            WaybillIds = list
                        });

I just publish an event , without define any handler to receive it , it will disappear in Rabbitmq's Queue?

Reproduction Steps

No response

Expected behavior

No response

Actual behavior

No response

Regression?

No response

Known Workarounds

No response

Version

7.4.0

User Interface

Common (Default)

Database Provider

EF Core (Default)

Tiered or separate authentication server

None (Default)

Operation System

Windows (Default)

Other information

No response

xyfy avatar Oct 21 '23 08:10 xyfy

I am using with both outbox & inbox

the [Processed] in IncomingEvents value is 1 , but I do not defined any handler

xyfy avatar Oct 21 '23 08:10 xyfy

I also encountered a similar problem and found that the system initialization created a consumer, and messages were not discarded if no handler was defined

mrh520 avatar Jan 09 '24 09:01 mrh520

I also encountered a similar problem and found that the system initialization created a consumer, and messages were not discarded if no handler was defined

I want to test inbox&outbox,so do not run any cosumer,but it auto disapeard.

xyfy avatar Jan 10 '24 15:01 xyfy