Package io.smallrye.reactive.messaging
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
FieldsModifier and TypeFieldDescriptionstatic final intThe default priority for config customizers. -
Method Summary
Modifier and TypeMethodDescriptionCustomize the given configuration object.default int
-
Field Details
-
CLIENT_CONFIG_CUSTOMIZER_DEFAULT_PRIORITY
static final int CLIENT_CONFIG_CUSTOMIZER_DEFAULT_PRIORITYThe default priority for config customizers.- See Also:
-
-
Method Details
-
customize
Customize the given configuration object.- Parameters:
channel- the channel namechannelConfig- the channel configurationconfig- the configuration object- Returns:
- the modified configuration object, or
nullto skip this customizer
-
getPriority
default int getPriority()- Specified by:
getPriorityin interfacejakarta.enterprise.inject.spi.Prioritized
-