Browse Source

Merge pull request #17459 from abpframework/auto-merge/rel-7-4/2141

Merge branch dev with rel-7.4
pull/17463/head
maliming 3 years ago
committed by GitHub
parent
commit
88bca54bb6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/DistributedEventBusBase.cs

17
framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/DistributedEventBusBase.cs

@ -127,13 +127,6 @@ public abstract class DistributedEventBusBase : EventBusBase, IDistributedEventB
await OnAddToOutboxAsync(eventName, eventType, eventData);
await TriggerDistributedEventSentAsync(new DistributedEventSent()
{
Source = DistributedEventSource.Direct,
EventName = eventName,
EventData = eventData
});
var outgoingEventInfo = new OutgoingEventInfo(
GuidGenerator.Create(),
eventName,
@ -183,16 +176,6 @@ public abstract class DistributedEventBusBase : EventBusBase, IDistributedEventB
}
}
using (CorrelationIdProvider.Change(correlationId))
{
await TriggerDistributedEventReceivedAsync(new DistributedEventReceived
{
Source = DistributedEventSource.Direct,
EventName = EventNameAttribute.GetNameOrDefault(eventType),
EventData = eventData
});
}
var incomingEventInfo = new IncomingEventInfo(
GuidGenerator.Create(),
messageId,

Loading…
Cancel
Save