private final MessageExpressionMethods methods;
public MessagePartitionResolver(String expression, EvaluationContext evaluationContext) {
ExpressionParser parser = new SpelExpressionParser();
this.expression = parser.parseExpression(expression);
this.methods = new MessageExpressionMethods(evaluationContext);
log.info("Using expression=[" + this.expression.getExpressionString() + "]");
}