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
Fields Modifier and Type Field Description static DefaultParameterMappingStrategy
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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 Detail
-
INSTANCE
public static final DefaultParameterMappingStrategy INSTANCE
-
-
Method Detail
-
getDefaultParameterTypeExpression
public org.apache.camel.Expression getDefaultParameterTypeExpression(Class<?> parameterType)
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
-
-