SPeL « Integration « Spring Q&A





1. Spring Integration filter expression using SPeL    stackoverflow.com

I have a configuration bean that has a list of allowed values:

@Component
public class Conf {
    public List<String> getAllowedValues() {
        return Arrays.asList("A", ...

2. Spring Integration filter expression using SPeL    forum.springsource.org

@Component public class Conf { public List getAllowedValues() { return Arrays.asList("A", "B", "C", "D"); }