Show / Hide Table of Contents

Class ResponderOptions

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

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

Constructors

ResponderOptions(IDestination?, string?, ResponseDestinationType?)

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

Declaration
public ResponderOptions(IDestination? ResponseDestination = null, string? ResponseDestinationName = null, ResponseDestinationType? ResponseDestinationType = null)
Parameters
Type Name Description
IDestination ResponseDestination

An explicit Apache.NMS.IDestination to which response messages will be sent. When set, this destination takes precedence over ResponseDestinationName and ResponseDestinationType.

string ResponseDestinationName

The name of the destination to use for responses when ResponseDestination is not provided. This name will be used together with ResponseDestinationType to create or resolve the destination.

ResponseDestinationType? ResponseDestinationType

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

Properties

ResponseDestination

An explicit Apache.NMS.IDestination to which response messages will be sent. When set, this destination takes precedence over ResponseDestinationName and ResponseDestinationType.

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

ResponseDestinationName

The name of the destination to use for responses when ResponseDestination is not provided. This name will be used together with ResponseDestinationType to create or resolve the destination.

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

ResponseDestinationType

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

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

Implements

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