Class RabbitMqOptions
RabbitMQ connection choices, layered from ProtoTest:Messaging:RabbitMq.
public sealed class RabbitMqOptions : IProtoConfigurableOptions
- Inheritance
-
RabbitMqOptions
- Implements
- Inherited Members
- Extension Methods
Fields
ConfigurationSectionName
public const string ConfigurationSectionName = "ProtoTest:Messaging:RabbitMq"
Field Value
ConnectionStringSetting
The configuration key a started broker container fills.
public const string ConnectionStringSetting = "ProtoTest:Messaging:RabbitMq:ConnectionString"
Field Value
Properties
ConnectionString
AMQP connection string of the broker, for example the deployed environment's.
public string ConnectionString { get; set; }
Property Value
Methods
Validate()
Validates the resolved options once, after code callbacks and configuration have been applied. A bad value is a configuration error and must throw here rather than fail the first test that happens to use it. The default does nothing.
public void Validate()