Class RabbitProducerEndpoint
Represents a queue or exchange to produce to.
Inheritance
System.Object
RabbitProducerEndpoint
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
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 |
---|---|---|
System.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 |
---|---|
System.Nullable<System.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 |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this doc View sourceValidate()
Declaration
public override void Validate()