Class RabbitProducerEndpoint
Represents a queue or exchange to produce to.
Inheritance
RabbitProducerEndpoint
Inherited Members
Namespace: Silverback.Messaging
Assembly: Silverback.Integration.RabbitMQ.dll
Syntax
public abstract class RabbitProducerEndpoint : ProducerEndpoint, IProducerEndpoint, IEndpoint
Constructors
| Improve this doc View sourceRabbitProducerEndpoint(string)
Initializes a new instance of the RabbitProducerEndpoint class.
Declaration
protected RabbitProducerEndpoint(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the queue or exchange. |
Properties
| Improve this doc View sourceConfirmationTimeout
Gets or sets the maximum amount of time to wait for the message produce to be acknowledge before
considering it failed. Set it to null
to proceed without waiting for a positive or negative
acknowledgment. The default is a quite conservative 5 seconds.
Declaration
public TimeSpan? ConfirmationTimeout { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan? |
Connection
Gets or sets the RabbitMQ connection settings.
Declaration
public RabbitConnectionConfig Connection { get; set; }
Property Value
Type | Description |
---|---|
RabbitConnectionConfig |
Methods
| Improve this doc View sourceBaseEquals(Endpoint?)
Declaration
protected override bool BaseEquals(Endpoint? other)
Parameters
Type | Name | Description |
---|---|---|
Endpoint | 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. |
Overrides
| Improve this doc View sourceValidate()
Validates the endpoint configuration and throws an EndpointConfigurationException if not valid.
Declaration
public override void Validate()