Class RabbitEndpointConfig
The base class for the RabbitExchangeConfig and RabbitQueueConfig.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|
System.Collections.Generic.Dictionary<System.String, System.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 |
---|---|
System.Boolean |
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 |
---|---|
System.Boolean |
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 |
---|---|
System.Boolean | Returns a value indicating whether the other object is equal to the current object. |
Validate()
Declaration
public virtual void Validate()