diff --git a/Hrynco.RabbitMq/CorrelationContext.cs b/Hrynco.RabbitMq/CorrelationContext.cs index 4745829..2ee8341 100644 --- a/Hrynco.RabbitMq/CorrelationContext.cs +++ b/Hrynco.RabbitMq/CorrelationContext.cs @@ -3,4 +3,11 @@ namespace Hrynco.RabbitMq; public record CorrelationContext { public required string CorrelationId { get; init; } + + /// + /// Optional queue name the sender wants the result published to. + /// If set, the consumer should publish a result message to this queue after processing. + /// If null, the sender does not require a reply (fire-and-forget). + /// + public string? ReplyTo { get; init; } }