09c4b8b4d2
- Allows message publishers to specify a reply queue - Consumer publishes result to ReplyTo queue if set - If ReplyTo is null, behavior is fire-and-forget Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
14 lines
436 B
C#
14 lines
436 B
C#
namespace Hrynco.RabbitMq;
|
|
|
|
public record CorrelationContext
|
|
{
|
|
public required string CorrelationId { get; init; }
|
|
|
|
/// <summary>
|
|
/// 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).
|
|
/// </summary>
|
|
public string? ReplyTo { get; init; }
|
|
}
|