SpelExpressionTypeConverter { @Converter public static Expression toSpelExpression(String expression) { return new SpelExpressionConverterConfiguration.SpelConverter() .convert(expression); } private  SpelExpressionTypeConverter(); @Converter static Expression toSpelExpression(String expression); @Converter static String toString(Expression expression);  }
@Test public void testSpelConversion() { Expression expression = SpelExpressionTypeConverter .toSpelExpression("payload.id"); assertNotNull(expression); }