Class RabbitMqAsyncApiBindingProvider
Adds AMQP/RabbitMQ-specific bindings to the AsyncAPI document. Reads configuration from RabbitMqOptions and RabbitMqChannelOptions already registered on each channel.
public class RabbitMqAsyncApiBindingProvider : IAsyncApiTransportBindingProvider
- Inheritance
-
RabbitMqAsyncApiBindingProvider
- Implements
- Inherited Members
Constructors
- RabbitMqAsyncApiBindingProvider(RabbitMqOptions, CloudEventsOptions)
Adds AMQP/RabbitMQ-specific bindings to the AsyncAPI document. Reads configuration from RabbitMqOptions and RabbitMqChannelOptions already registered on each channel.
Methods
- ConfigureChannel(ChannelRegistration, AsyncApiDocument)
Called for each channel to add transport-specific channel bindings (e.g. AMQP exchange/queue). May also add additional channels (e.g. subscription queue channel for consume channels).
- ConfigureMessage(MessageRegistration, ChannelRegistration, AsyncApiMessage)
Called for each message to add transport-specific message bindings.
- ConfigureOperation(ChannelRegistration, AsyncApiOperation)
Called for each operation to add transport-specific operation bindings.
- ConfigureServers(AsyncApiDocument, IEnumerable<ChannelRegistration>)
Called once during document generation to add server definitions and any top-level transport config.