Interface ParameterMappingStrategy

All Known Implementing Classes:
DefaultParameterMappingStrategy

public interface ParameterMappingStrategy
A strategy for creating a default parameter expression for a given type
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.camel.Expression
    Gets an expression used for evaluation with the current Exchange and its result is used as parameter value for the given type
  • Method Details

    • getDefaultParameterTypeExpression

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