maliming
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
2 deletions
-
framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/DistributedEventBusBase.cs
|
|
|
@ -132,10 +132,13 @@ public abstract class DistributedEventBusBase : EventBusBase, IDistributedEventB |
|
|
|
Serialize(eventData), |
|
|
|
Clock.Now |
|
|
|
); |
|
|
|
if (CorrelationIdProvider.Get() != null) |
|
|
|
|
|
|
|
var correlationId = CorrelationIdProvider.Get(); |
|
|
|
if (correlationId != null) |
|
|
|
{ |
|
|
|
outgoingEventInfo.SetCorrelationId(CorrelationIdProvider.Get()!); |
|
|
|
outgoingEventInfo.SetCorrelationId(correlationId); |
|
|
|
} |
|
|
|
|
|
|
|
await eventOutbox.EnqueueAsync(outgoingEventInfo); |
|
|
|
return true; |
|
|
|
} |
|
|
|
|