Class AzureEventHubsMessagingAutoConfiguration
java.lang.Object
com.azure.spring.cloud.autoconfigure.eventhubs.AzureEventHubsMessagingAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(com.azure.spring.messaging.eventhubs.core.EventHubsTemplate.class)
@AutoConfigureAfter(AzureEventHubsAutoConfiguration.class)
@ConditionalOnProperty(value="spring.cloud.azure.eventhubs.enabled",
havingValue="true",
matchIfMissing=true)
@ConditionalOnAnyProperty(prefix="spring.cloud.azure.eventhubs",
name={"connection-string","namespace"})
@ConditionalOnBean(com.azure.spring.cloud.autoconfigure.implementation.eventhubs.properties.AzureEventHubsProperties.class)
@Import({EventHubsTemplateConfiguration.class,ProcessorContainerConfiguration.class})
public class AzureEventHubsMessagingAutoConfiguration
extends Object
Auto-configuration
for Spring Messaging Azure Event Hubs support.- Since:
- 4.0.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Configure theEventHubsTemplate
static class
Configure theEventHubsProcessorFactory
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AzureEventHubsMessagingAutoConfiguration
public AzureEventHubsMessagingAutoConfiguration()
-