Package org.apache.camel.spi
Interface PropertyConfigurer
- All Known Subinterfaces:
GeneratedPropertyConfigurer
public interface PropertyConfigurer
A marker interface to identify the object as being configurable via a configurer class.
This is used in Camel to have fast property configuration of Camel components & endpoints, and for EIP patterns as
well.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) Configures the property
-
Method Details
-
configure
boolean configure(CamelContext camelContext, Object target, String name, Object value, boolean ignoreCase) Configures the property- Parameters:
camelContext
- the Camel contexttarget
- the target instance such asEndpoint
orComponent
.name
- the property namevalue
- the property valueignoreCase
- whether to ignore case for matching the property name- Returns:
- true if the configurer configured the property, false if the property does not exists
-