Class RabbitEndpointConfig
The base class for the RabbitExchangeConfig and RabbitQueueConfig.
Implements
Inherited Members
Namespace: Silverback.Messaging.Configuration.Rabbit
Assembly: Silverback.Integration.RabbitMQ.dll
Syntax
public abstract class RabbitEndpointConfig : IValidatableEndpointSettings
Properties
| Improve this doc View sourceArguments
Gets or sets the optional arguments dictionary. The arguments are used by plugins and broker-specific features to configure values such as message TTL, queue length limit, etc.
Declaration
public Dictionary<string, object>? Arguments { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> |
IsAutoDeleteEnabled
Gets or sets a value indicating whether the queue or the exchange will be automatically deleted when the last consumer unsubscribes.
Declaration
public bool IsAutoDeleteEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsDurable
Gets or sets a value indicating whether the queue or the exchange will survive a broker restart.
Declaration
public bool IsDurable { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Improve this doc View sourceBaseEquals(RabbitEndpointConfig?)
Determines whether the specified RabbitEndpointConfig is equal to the current RabbitEndpointConfig.
Declaration
protected virtual bool BaseEquals(RabbitEndpointConfig? other)
Parameters
Type | Name | Description |
---|---|---|
RabbitEndpointConfig | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool | Returns a value indicating whether the other object is equal to the current object. |
Validate()
Throws an EndpointConfigurationException if the current configuration is not valid.
Declaration
public virtual void Validate()