Class ConnectorConfig
- java.lang.Object
-
- io.smallrye.reactive.messaging.impl.ConnectorConfig
-
- All Implemented Interfaces:
org.eclipse.microprofile.config.Config
public class ConnectorConfig extends Object implements org.eclipse.microprofile.config.Config
Implementation of config used to configured the different messaging provider / connector.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ConnectorConfig(String prefix, org.eclipse.microprofile.config.Config overall, String channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<org.eclipse.microprofile.config.spi.ConfigSource>
getConfigSources()
<T> Optional<T>
getOptionalValue(String propertyName, Class<T> propertyType)
Iterable<String>
getPropertyNames()
<T> T
getValue(String propertyName, Class<T> propertyType)
-
-
-
Method Detail
-
getValue
public <T> T getValue(String propertyName, Class<T> propertyType)
- Specified by:
getValue
in interfaceorg.eclipse.microprofile.config.Config
-
getOptionalValue
public <T> Optional<T> getOptionalValue(String propertyName, Class<T> propertyType)
- Specified by:
getOptionalValue
in interfaceorg.eclipse.microprofile.config.Config
-
getPropertyNames
public Iterable<String> getPropertyNames()
- Specified by:
getPropertyNames
in interfaceorg.eclipse.microprofile.config.Config
-
getConfigSources
public Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources()
- Specified by:
getConfigSources
in interfaceorg.eclipse.microprofile.config.Config
-
-