Class RabbitMqCloudEventExchangeOptions
Exchange configuration for RabbitMQ CloudEvents.
public sealed class RabbitMqCloudEventExchangeOptions
- Inheritance
-
RabbitMqCloudEventExchangeOptions
- Inherited Members
- Extension Methods
Properties
DefaultExchange
Gets or sets the default exchange name for publishing CloudEvents.
public string DefaultExchange { get; set; }
Property Value
- string
The default exchange name for publishing CloudEvents.
DurableExchanges
Gets or sets a value indicating whether exchanges should be durable.
public bool DurableExchanges { get; set; }
Property Value
- bool
A value indicating whether exchanges should be durable.
EnablePublisherConfirms
Gets or sets a value indicating whether to enable publisher confirms.
public bool EnablePublisherConfirms { get; set; }
Property Value
- bool
A value indicating whether to enable publisher confirms.
Remarks
Publisher confirms provide delivery guarantees but impact performance.
ExchangeType
Gets or sets the exchange type for CloudEvent publishing.
public RabbitMQExchangeType ExchangeType { get; set; }
Property Value
- RabbitMQExchangeType
The exchange type for CloudEvent publishing.
MandatoryPublishing
Gets or sets a value indicating whether to enable mandatory publishing.
public bool MandatoryPublishing { get; set; }
Property Value
- bool
A value indicating whether to enable mandatory publishing.
Remarks
Mandatory publishing returns unroutable messages to the publisher.
MaxMessageSizeBytes
Gets or sets the maximum message size for RabbitMQ CloudEvents.
public long MaxMessageSizeBytes { get; set; }
Property Value
- long
The maximum message size for RabbitMQ CloudEvents.
Remarks
RabbitMQ doesn't have a hard limit, but large messages can impact performance.
MessageTtl
Gets or sets the default message TTL for CloudEvents.
public TimeSpan? MessageTtl { get; set; }
Property Value
- TimeSpan?
The default message TTL for CloudEvents.
Persistence
Gets or sets the message persistence level.
public RabbitMqPersistence Persistence { get; set; }
Property Value
- RabbitMqPersistence
The message persistence level.