Show / Hide Table of Contents

Class ReplierOptions

Configuration options that control where and how a replier sends reply messages. These options allow specifying an explicit IDestination, or alternatively a destination name and type to be used when creating the reply destination.

Inheritance
object
ReplierOptions
Implements
IEquatable<ReplierOptions>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: CodersRealm.AmqpClient
Assembly: CodersRealm.AmqpClient.dll
Syntax
public sealed record ReplierOptions : IEquatable<ReplierOptions>

Constructors

ReplierOptions(IDestination?, string?, ReplyDestinationType?)

Configuration options that control where and how a replier sends reply messages. These options allow specifying an explicit IDestination, or alternatively a destination name and type to be used when creating the reply destination.

Declaration
public ReplierOptions(IDestination? ReplierDestination = null, string? ReplierDestinationName = null, ReplyDestinationType? ReplierDestinationType = null)
Parameters
Type Name Description
IDestination ReplierDestination

An explicit IDestination to which reply messages will be sent. When set, this destination takes precedence over ReplierDestinationName and ReplierDestinationType.

string ReplierDestinationName

The name of the destination to use for replies when ReplierDestination is not provided. This name will be used together with ReplierDestinationType to create or resolve the destination.

ReplyDestinationType? ReplierDestinationType

The type of destination to use when creating or resolving the destination identified by ReplierDestinationName, for example Queue or Topic. This value is ignored when ReplierDestination is provided.

Properties

ReplierDestination

An explicit IDestination to which reply messages will be sent. When set, this destination takes precedence over ReplierDestinationName and ReplierDestinationType.

Declaration
public IDestination? ReplierDestination { get; init; }
Property Value
Type Description
IDestination

ReplierDestinationName

The name of the destination to use for replies when ReplierDestination is not provided. This name will be used together with ReplierDestinationType to create or resolve the destination.

Declaration
public string? ReplierDestinationName { get; init; }
Property Value
Type Description
string

ReplierDestinationType

The type of destination to use when creating or resolving the destination identified by ReplierDestinationName, for example Queue or Topic. This value is ignored when ReplierDestination is provided.

Declaration
public ReplyDestinationType? ReplierDestinationType { get; init; }
Property Value
Type Description
ReplyDestinationType?

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX