Interface IProvisioningProvider
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.
Namespace: Steeltoe.Stream.Provisioning
Assembly: Steeltoe.Stream.Abstractions.dll
Syntax
public interface IProvisioningProvider
Methods
| Edit this page View SourceProvisionConsumerDestination(String, String, IConsumerOptions)
Creates the middleware destination on the physical broker for the consumer to consume data.The implementation is middleware-specific.
Declaration
IConsumerDestination ProvisionConsumerDestination(string name, string group, IConsumerOptions properties)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | the name of the consumer destination |
System.String | group | the consumer group |
IConsumerOptions | properties | the consumer options |
Returns
Type | Description |
---|---|
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.
Declaration
IProducerDestination ProvisionProducerDestination(string name, IProducerOptions options)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | the name of the producer destination |
IProducerOptions | options | the producer options |
Returns
Type | Description |
---|---|
IProducerDestination | the provisioned destination |