Class 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.
    • Field Detail

      • CHANNEL_ENABLED_PROPERTY

        public static final String 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:
        Constant Field Values
    • Constructor Detail

      • ConnectorConfig

        protected ConnectorConfig​(String prefix,
                                  org.eclipse.microprofile.config.Config overall,
                                  String channel)
    • Method Detail

      • getValue

        public <T> T getValue​(String propertyName,
                              Class<T> propertyType)
        Specified by:
        getValue in interface org.eclipse.microprofile.config.Config
      • getOptionalValue

        public <T> Optional<T> getOptionalValue​(String propertyName,
                                                Class<T> propertyType)
        Specified by:
        getOptionalValue in interface org.eclipse.microprofile.config.Config
      • getPropertyNames

        public Iterable<String> getPropertyNames()
        Specified by:
        getPropertyNames in interface org.eclipse.microprofile.config.Config
      • getConfigSources

        public Iterable<org.eclipse.microprofile.config.spi.ConfigSource> getConfigSources()
        Specified by:
        getConfigSources in interface org.eclipse.microprofile.config.Config