Ok, I will do this.
I opened an issue on JIRA and will track further discussions there.
https://issues.apache.org/activemq/browse/CAMEL-2565
--
View this message in context:
http://old.nabble.com/Proposal-for-a-new-camel-bean-validation-component-based-on-jsr-303-tp27950969p27976253.html
Sent
Hi
Looks promising. Nice that JSR-303 can gather all the validations
error in one go, so you got them all.
I recon for starters you try to implement this as a new
bean-validation component.
Then later we can see how to hookup with a predicate.
On Sun, Mar 21, 2010 at 12:02 PM, Christian Mueller
Hello Claus!
My first and easiest implementation of the bean-validator looks like (it is
inspired from the schema validation component):
public class BeanValidatorComponent extends DefaultComponent {
protected Endpoint createEndpoint(String uri, String remaining,
Map parameters) throws Exce
What would the difference be between just invoking a JSR-303 bean using
.to("bean:foo?method=validateMyFooPlease")
And just have a void method definition with the JSR-303 @ annotations?
I assume JSR-303 will throw some exception if the validation failed?
I recon I need to see a more concrete exam