File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/NServiceBus.Storage.MongoDB/Outbox Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 22
33namespace NServiceBus . Storage . MongoDB ;
44
5+ using System ;
56using System . Collections . Generic ;
67
78class StorageTransportOperation
@@ -14,13 +15,13 @@ public StorageTransportOperation(Outbox.TransportOperation source)
1415 {
1516 MessageId = source . MessageId ;
1617 Options = source . Options != null ? new Dictionary < string , string > ( source . Options ) : [ ] ;
17- Body = source . Body . ToArray ( ) ;
18+ Body = source . Body ;
1819 Headers = source . Headers ;
1920 }
2021
2122 public string MessageId { get ; set ; }
2223 public Dictionary < string , string > Options { get ; set ; }
23- public byte [ ] Body { get ; set ; }
24+ public ReadOnlyMemory < byte > Body { get ; set ; }
2425 public Dictionary < string , string > Headers { get ; set ; }
2526
2627
You can’t perform that action at this time.
0 commit comments