Interface ConfigurerResolver
public interface ConfigurerResolver
Pluggable strategy for resolving a
PropertyConfigurer by the name of the target type (for example
timer-component or timer-endpoint).
The default implementation looks up the class name from a service resource under the path
RESOURCE_PATH<name> on the classpath and instantiates it. These resources are generated at build
time by the camel-package-maven-plugin for every class annotated with Configurer. Camel consults the
resolver when configuring a component or endpoint from properties, using the returned PropertyConfigurer to
set options without reflection.- Since:
- 3.1
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@Nullable PropertyConfigurerresolvePropertyConfigurer(String name, CamelContext context) Resolves the given configurer.
-
Field Details
-
RESOURCE_PATH
- See Also:
-
-
Method Details
-
resolvePropertyConfigurer
Resolves the given configurer.- Parameters:
name- the name of the configurer (timer-component or timer-endpoint etc)context- the camel context- Returns:
- the resolved configurer, or null if no configurer could be found
-