Class RabbitExchangeProducerEndpoint
Represents an exchange to produce to.
Inherited Members
Namespace: Silverback.Messaging
Assembly: Silverback.Integration.RabbitMQ.dll
Syntax
public sealed class RabbitExchangeProducerEndpoint : RabbitProducerEndpoint, IProducerEndpoint, IEndpoint, IEquatable<RabbitExchangeProducerEndpoint>
Constructors
| Improve this doc View sourceRabbitExchangeProducerEndpoint(string)
Initializes a new instance of the RabbitExchangeProducerEndpoint class.
Declaration
public RabbitExchangeProducerEndpoint(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the exchange. |
Properties
| Improve this doc View sourceExchange
Gets or sets the exchange configuration.
Declaration
public RabbitExchangeConfig Exchange { get; set; }
Property Value
Type | Description |
---|---|
RabbitExchangeConfig |
Methods
| Improve this doc View sourceEquals(RabbitExchangeProducerEndpoint?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(RabbitExchangeProducerEndpoint? other)
Parameters
Type | Name | Description |
---|---|---|
RabbitExchangeProducerEndpoint | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
| Improve this doc View sourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
| Improve this doc View sourceValidate()
Validates the endpoint configuration and throws an EndpointConfigurationException if not valid.
Declaration
public override void Validate()