Interface IProvisioningProvider
- Namespace
- Steeltoe.Stream.Provisioning
- Assembly
- Steeltoe.Stream.Abstractions.dll
Provisioning SPI that allows the users to provision destinations such as queues and topics. This SPI will allow the binders to be separated from any provisioning concerns and only focus on setting up endpoints for sending/receiving messages.
public interface IProvisioningProvider
Methods
ProvisionConsumerDestination(string, string, IConsumerOptions)
Creates the middleware destination on the physical broker for the consumer to consume data.The implementation is middleware-specific.
IConsumerDestination ProvisionConsumerDestination(string name, string group, IConsumerOptions properties)
Parameters
name
stringthe name of the consumer destination
group
stringthe consumer group
properties
IConsumerOptionsthe consumer options
Returns
- IConsumerDestination
the provisioned destination
ProvisionProducerDestination(string, IProducerOptions)
Creates middleware destination on the physical broker for the producer to send data. The implementation is middleware-specific.
IProducerDestination ProvisionProducerDestination(string name, IProducerOptions options)
Parameters
name
stringthe name of the producer destination
options
IProducerOptionsthe producer options
Returns
- IProducerDestination
the provisioned destination