Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace NServiceBus.Storage.MongoDB;

using System;
using System.Collections.Generic;

class StorageTransportOperation
Expand All @@ -14,13 +15,13 @@ public StorageTransportOperation(Outbox.TransportOperation source)
{
MessageId = source.MessageId;
Options = source.Options != null ? new Dictionary<string, string>(source.Options) : [];
Body = source.Body.ToArray();
Body = source.Body;
Headers = source.Headers;
}

public string MessageId { get; set; }
public Dictionary<string, string> Options { get; set; }
public byte[] Body { get; set; }
public ReadOnlyMemory<byte> Body { get; set; }
public Dictionary<string, string> Headers { get; set; }


Expand Down
Loading