Class ChenileEventHubProperties
java.lang.Object
org.chenile.pubsub.azure.configuration.ChenileEventHubProperties
@Component
@ConfigurationProperties(prefix="chenile.azure.eventhubs")
public class ChenileEventHubProperties
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanFlag to control automatic consumer startprivate booleanWhen enabled, tenant/client identifiers are prefixed to the physical Event Hub name.private Stringprivate Stringprivate StringFallback physical Event Hub for logical topics that are not explicitly mapped.private StringMaps logical Chenile event names to physical Event Hub names. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDl()booleanbooleanresolvePhysicalHubName(String hubName) voidsetAutoStartConsumers(boolean autoStartConsumers) voidsetClientPrefixEnabled(boolean clientPrefixEnabled) voidsetClientPrefixSeparator(String clientPrefixSeparator) voidsetClients(List<String> clients) voidsetConnectionString(String connectionString) voidsetConsumers(ChenileEventHubProperties.Consumers consumers) voidsetDefaultRoute(String defaultRoute) voidvoidsetProducers(List<String> producers) void
-
Field Details
-
connectionString
-
dl
-
producers
-
clients
-
routes
-
defaultRoute
Fallback physical Event Hub for logical topics that are not explicitly mapped. -
clientPrefixEnabled
private boolean clientPrefixEnabledWhen enabled, tenant/client identifiers are prefixed to the physical Event Hub name. -
clientPrefixSeparator
-
consumers
-
autoStartConsumers
private boolean autoStartConsumersFlag to control automatic consumer start
-
-
Constructor Details
-
ChenileEventHubProperties
public ChenileEventHubProperties()
-
-
Method Details
-
getConnectionString
-
setConnectionString
-
getProducers
-
setProducers
-
getClients
-
setClients
-
getRoutes
-
setRoutes
-
getDefaultRoute
-
setDefaultRoute
-
isClientPrefixEnabled
public boolean isClientPrefixEnabled() -
setClientPrefixEnabled
public void setClientPrefixEnabled(boolean clientPrefixEnabled) -
getClientPrefixSeparator
-
setClientPrefixSeparator
-
getConsumers
-
setConsumers
-
setAutoStartConsumers
public void setAutoStartConsumers(boolean autoStartConsumers) -
isAutoStartConsumers
public boolean isAutoStartConsumers() -
getDl
-
setDl
-
resolvePhysicalHubName
-
getResolvedProducerHubs
-
getResolvedConsumerHubs
-
CHENILE