Class EventHubsChannelProvisioner
java.lang.Object
com.azure.spring.cloud.stream.binder.eventhubs.core.provisioning.EventHubsChannelProvisioner
- All Implemented Interfaces:
org.springframework.cloud.stream.provisioning.ProvisioningProvider<org.springframework.cloud.stream.binder.ExtendedConsumerProperties<EventHubsConsumerProperties>,
org.springframework.cloud.stream.binder.ExtendedProducerProperties<EventHubsProducerProperties>>
public class EventHubsChannelProvisioner
extends Object
implements org.springframework.cloud.stream.provisioning.ProvisioningProvider<org.springframework.cloud.stream.binder.ExtendedConsumerProperties<EventHubsConsumerProperties>,org.springframework.cloud.stream.binder.ExtendedProducerProperties<EventHubsProducerProperties>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.cloud.stream.provisioning.ConsumerDestination
provisionConsumerDestination
(String name, String group, org.springframework.cloud.stream.binder.ExtendedConsumerProperties<EventHubsConsumerProperties> properties) org.springframework.cloud.stream.provisioning.ProducerDestination
provisionProducerDestination
(String name, org.springframework.cloud.stream.binder.ExtendedProducerProperties<EventHubsProducerProperties> properties) protected void
validateOrCreateForConsumer
(String name, String group) Validate or create for consumer.protected void
Validate or create for producer.
-
Constructor Details
-
EventHubsChannelProvisioner
public EventHubsChannelProvisioner()
-
-
Method Details
-
provisionProducerDestination
public org.springframework.cloud.stream.provisioning.ProducerDestination provisionProducerDestination(String name, org.springframework.cloud.stream.binder.ExtendedProducerProperties<EventHubsProducerProperties> properties) throws org.springframework.cloud.stream.provisioning.ProvisioningException - Specified by:
provisionProducerDestination
in interfaceorg.springframework.cloud.stream.provisioning.ProvisioningProvider<org.springframework.cloud.stream.binder.ExtendedConsumerProperties<EventHubsConsumerProperties>,
org.springframework.cloud.stream.binder.ExtendedProducerProperties<EventHubsProducerProperties>> - Throws:
org.springframework.cloud.stream.provisioning.ProvisioningException
-
provisionConsumerDestination
public org.springframework.cloud.stream.provisioning.ConsumerDestination provisionConsumerDestination(String name, String group, org.springframework.cloud.stream.binder.ExtendedConsumerProperties<EventHubsConsumerProperties> properties) throws org.springframework.cloud.stream.provisioning.ProvisioningException - Specified by:
provisionConsumerDestination
in interfaceorg.springframework.cloud.stream.provisioning.ProvisioningProvider<org.springframework.cloud.stream.binder.ExtendedConsumerProperties<EventHubsConsumerProperties>,
org.springframework.cloud.stream.binder.ExtendedProducerProperties<EventHubsProducerProperties>> - Throws:
org.springframework.cloud.stream.provisioning.ProvisioningException
-
validateOrCreateForConsumer
Validate or create for consumer.- Parameters:
name
- the namegroup
- the group
-
validateOrCreateForProducer
Validate or create for producer.- Parameters:
name
- the name
-