Interface ClientCustomizer<T>

Type Parameters:
T - the type of the configuration object
All Superinterfaces:
jakarta.enterprise.inject.spi.Prioritized

public interface ClientCustomizer<T> extends jakarta.enterprise.inject.spi.Prioritized
A customizer that can be used to modify the configuration used to create a messaging client.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The default priority for config customizers.
  • Method Summary

    Modifier and Type
    Method
    Description
    customize(String channel, org.eclipse.microprofile.config.Config channelConfig, T config)
    Customize the given configuration object.
    default int
     
  • Field Details

    • CLIENT_CONFIG_CUSTOMIZER_DEFAULT_PRIORITY

      static final int CLIENT_CONFIG_CUSTOMIZER_DEFAULT_PRIORITY
      The default priority for config customizers.
      See Also:
  • Method Details

    • customize

      T customize(String channel, org.eclipse.microprofile.config.Config channelConfig, T config)
      Customize the given configuration object.
      Parameters:
      channel - the channel name
      channelConfig - the channel configuration
      config - the configuration object
      Returns:
      the modified configuration object, or null to skip this customizer
    • getPriority

      default int getPriority()
      Specified by:
      getPriority in interface jakarta.enterprise.inject.spi.Prioritized