spring-integration
spring-integration copied to clipboard
Provide a Bean Validation (JSR 303) filter [INT-4068]
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
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