Package org.apache.camel.component.bean
Class DefaultParameterMappingStrategy
java.lang.Object
org.apache.camel.component.bean.DefaultParameterMappingStrategy
- All Implemented Interfaces:
ParameterMappingStrategy
public final class DefaultParameterMappingStrategy
extends Object
implements ParameterMappingStrategy
Represents the strategy used to figure out how to map a message exchange to a POJO method invocation
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.Expression
getDefaultParameterTypeExpression
(Class<?> parameterType) Gets an expression used for evaluation with the current Exchange and its result is used as parameter value for the given type
-
Field Details
-
INSTANCE
-
-
Method Details
-
getDefaultParameterTypeExpression
Description copied from interface:ParameterMappingStrategy
Gets an expression used for evaluation with the current Exchange and its result is used as parameter value for the given type- Specified by:
getDefaultParameterTypeExpression
in interfaceParameterMappingStrategy
- Parameters:
parameterType
- the parameter type- Returns:
- the expression to evaluate as value
-