Re: Any good examples of Bean Validation?

2016-08-13 Thread Brad Johnson
Using CDI I just created a producer that I grab the Hibernate validator now and run it as it is injected into another bean. So I can switch contexts when I need. Whether I use it in a Camel route or not isn't really too important. It works well enough now. Brad On Sat, Aug 13, 2016 at 5:03 PM,

Re: Any good examples of Bean Validation?

2016-08-13 Thread John D. Ament
Brad, Its not clear from your email whether your confusion is how to use bean validation or how it integrates with camel. the integrating with camel part is pretty straight forward. Assuming that the input to the segment of the route is a properly annotated bean, then those bean attributes will

ftp advanced filtering

2016-08-13 Thread gonzo
Hello, I need to add some database checks into my filter. Having file name is not enough for my case. I'm wondering if there is any other option of file filtering than using GenericFileFilter in uri? Example: from("ftp://user@host/Downloads?password=password&delete=true&filter=#myFileFilter";) ('d