Fixed CorrelationId not being imported in Tapeti.Cmd

This commit is contained in:
Mark van Renswoude 2021-09-06 08:56:37 +02:00
parent 31621542b1
commit 3009eec0d4
1 changed files with 1 additions and 0 deletions

View File

@ -241,6 +241,7 @@ namespace Tapeti.Cmd.Serialization
if (!string.IsNullOrEmpty(ClusterId)) properties.ClusterId = ClusterId;
if (!string.IsNullOrEmpty(ContentEncoding)) properties.ContentEncoding = ContentEncoding;
if (!string.IsNullOrEmpty(ContentType)) properties.ContentType = ContentType;
if (!string.IsNullOrEmpty(CorrelationId)) properties.CorrelationId = CorrelationId;
if (DeliveryMode.HasValue) properties.DeliveryMode = DeliveryMode.Value;
if (!string.IsNullOrEmpty(Expiration)) properties.Expiration = Expiration;
if (!string.IsNullOrEmpty(MessageId)) properties.MessageId = MessageId;