Class ConcurrencyConnectorConfig
java.lang.Object
io.smallrye.reactive.messaging.providers.impl.ConnectorConfig
io.smallrye.reactive.messaging.providers.impl.ConcurrencyConnectorConfig
- All Implemented Interfaces:
org.eclipse.microprofile.config.Config
Implementation of config used to configured the different messaging provider / connector.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.smallrye.reactive.messaging.providers.impl.ConnectorConfig
ConnectorConfig.ConfigValueImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSeparator char for distinguishing per concurrent channel copy namesstatic final StringName of the attribute configuring the concurrency on a connector.Fields inherited from class io.smallrye.reactive.messaging.providers.impl.ConnectorConfig
BROADCAST_PROPERTY, CHANNEL_ENABLED_PROPERTY, channelPrefix, connector, MERGE_PROPERTY, name, overall, prefixFields inherited from interface org.eclipse.microprofile.config.Config
PROFILE, PROPERTY_EXPRESSIONS_ENABLED -
Constructor Summary
ConstructorsConstructorDescriptionConcurrencyConnectorConfig(ConnectorConfig config, int index) ConcurrencyConnectorConfig(String prefix, org.eclipse.microprofile.config.Config overall, String channel, int index) -
Method Summary
Modifier and TypeMethodDescriptiongetConcurrency(String channel, org.eclipse.microprofile.config.Config rootConfig) getConcurrency(org.eclipse.microprofile.config.Config connectorConfig) org.eclipse.microprofile.config.ConfigValuegetConfigValue(String propertyName) <T> Optional<T>getOptionalValue(String propertyName, Class<T> propertyType) Gets the lists of config keys for the given connector.<T> TindexedChannelKey(String propertyName) static booleanstatic StringMethods inherited from class io.smallrye.reactive.messaging.providers.impl.ConnectorConfig
channelKey, channelPrefix, connectorKey, convert, convertOptional, getConfigSources, getConverter, nameExists, toAlpha, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.microprofile.config.Config
getOptionalValues, getValues
-
Field Details
-
CONCURRENCY_PROPERTY_KEY
Name of the attribute configuring the concurrency on a connector.- See Also:
-
CONCURRENCY_CONFIG_SEPARATOR
Separator char for distinguishing per concurrent channel copy names- See Also:
-
-
Constructor Details
-
ConcurrencyConnectorConfig
-
ConcurrencyConnectorConfig
-
-
Method Details
-
getConcurrency
-
getConcurrency
-
stripChannelNameOfSeparator
-
isConcurrencyChannelName
-
getIndexedChannel
-
indexedChannelKey
-
getValue
- Specified by:
getValuein interfaceorg.eclipse.microprofile.config.Config- Overrides:
getValuein classConnectorConfig
-
getConfigValue
- Specified by:
getConfigValuein interfaceorg.eclipse.microprofile.config.Config- Overrides:
getConfigValuein classConnectorConfig
-
getOptionalValue
- Specified by:
getOptionalValuein interfaceorg.eclipse.microprofile.config.Config- Overrides:
getOptionalValuein classConnectorConfig
-
getPropertyNames
Gets the lists of config keys for the given connector. Note that the list contains property names from the config and env variables. It includes keys from the connector config and channel config.- Specified by:
getPropertyNamesin interfaceorg.eclipse.microprofile.config.Config- Overrides:
getPropertyNamesin classConnectorConfig- Returns:
- the list of keys
-