spring-integration icon indicating copy to clipboard operation
spring-integration copied to clipboard

Provide a Bean Validation (JSR 303) filter [INT-4068]

Open spring-operator opened this issue 9 years ago • 1 comments

Mauro Molinari opened INT-4068 and commented

I think that having a filter implementation, with proper XML namespace support, that validates the payload of a message using Bean Validation (JSR 303) out-of-the-box would be extremely useful in Spring Integration.


Affects: 4.2.6

2 votes, 4 watchers

spring-operator avatar Jul 11 '16 09:07 spring-operator

Artem Bilan commented

Looks like we should just provide PayloadValidatingMessageSelector implementation based on the org.springframework.validation.Validator abstraction, which, in turn, provides the JSR 303 wrapper: https://docs.spring.io/spring/docs/5.0.0.RC4/spring-framework-reference/core.html#validation

spring-operator avatar Sep 13 '17 21:09 spring-operator