Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 10 additions & 0 deletions src/Verify.Wolverine/Converters/DestinationEndpoint.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ public Task<T> InvokeAsync<T>(object message, Cancel cancel = default, TimeSpan?
where T : class =>
context.AddInvoke<T>(message, timeout, EndpointName);

public Task<Acknowledgement> InvokeAsync(object message, DeliveryOptions options, Cancel cancel = default, TimeSpan? timeout = null)
{
context.AddInvoke(message, timeout, EndpointName);
return Task.FromResult(new Acknowledgement());
}

public Task<T> InvokeAsync<T>(object message, DeliveryOptions options, Cancel cancel = default, TimeSpan? timeout = null)
where T : class =>
context.AddInvoke<T>(message, timeout, EndpointName);

public ValueTask SendRawMessageAsync(byte[] data, Type? messageType = null, Action<Envelope>? customize = null) =>
ValueTask.CompletedTask;

Expand Down
1 change: 1 addition & 0 deletions src/Verify.Wolverine/Converters/RecordingMessageContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ public RecordingMessageContext(object? message = null, PreviewSubscription? prev
public string? CorrelationId { get; set; }
public Envelope? Envelope { get; }
public string? TenantId { get; set; }
public string? UserName { get; set; }
}
Loading