SpringSource/spring-integration — pull request #706 by garyrussell (2013-01-15 20:48:32+00:00)
Title: INT-2864 Enforce Ref/Expression Mutual Exclusivity

Delegating consumer endpoints (`` etc)
may not have both 'expression' and 'ref' attributes.
Previously, 'expression' was ignored when 'ref' was present.

- Enforce mutual exclusivity in AbstractDelegatingEndpointParser.
- Add tests for illegal combinations.
- Improve error message when 'method' used with ``.
- Change parser to use reader.error() instead of Assert.
- Add element description to all parser errors.