Class ConnectorConfig
java.lang.Object
io.smallrye.reactive.messaging.providers.impl.ConnectorConfig
- All Implemented Interfaces:
org.eclipse.microprofile.config.Config
Implementation of config used to configured the different messaging provider / connector.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the attribute configuring the broadcast on a connector.static final StringName of the attribute checking if the channel is enabled (default) or disabled.static final StringName of the attribute configuring the merge on a connector.Fields inherited from interface org.eclipse.microprofile.config.Config
PROFILE, PROPERTY_EXPRESSIONS_ENABLED -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConnectorConfig(String prefix, org.eclipse.microprofile.config.Config overall, String channel) -
Method Summary
Modifier and TypeMethodDescriptionIterable<org.eclipse.microprofile.config.spi.ConfigSource>org.eclipse.microprofile.config.ConfigValuegetConfigValue(String propertyName) <T> Optional<org.eclipse.microprofile.config.spi.Converter<T>>getConverter(Class<T> forType) <T> Optional<T>getOptionalValue(String propertyName, Class<T> propertyType) Gets the lists of config keys for the given connector.<T> T<T> TMethods 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
-
CHANNEL_ENABLED_PROPERTY
Name of the attribute checking if the channel is enabled (default) or disabled. The value must be either `true` or `false`.- See Also:
-
BROADCAST_PROPERTY
Name of the attribute configuring the broadcast on a connector.- See Also:
-
MERGE_PROPERTY
Name of the attribute configuring the merge on a connector.- See Also:
-
-
Constructor Details
-
ConnectorConfig
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceorg.eclipse.microprofile.config.Config
-
getConfigValue
- Specified by:
getConfigValuein interfaceorg.eclipse.microprofile.config.Config
-
getOptionalValue
- Specified by:
getOptionalValuein interfaceorg.eclipse.microprofile.config.Config
-
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- Returns:
- the list of keys
-
getConfigSources
- Specified by:
getConfigSourcesin interfaceorg.eclipse.microprofile.config.Config
-
getConverter
public <T> Optional<org.eclipse.microprofile.config.spi.Converter<T>> getConverter(Class<T> forType) - Specified by:
getConverterin interfaceorg.eclipse.microprofile.config.Config
-
unwrap
- Specified by:
unwrapin interfaceorg.eclipse.microprofile.config.Config
-