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 Details

  • Method Details

    • 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 interface ParameterMappingStrategy
      Parameters:
      parameterType - the parameter type
      Returns:
      the expression to evaluate as value