camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Validation vs. validator
Date Thu, 28 Jul 2011 21:55:29 GMT
Hello Robert!

The user@ mailing list is the best for this kind of questions...

You are not so specific with your question what you want to do. In Camel, we
have 4 different validation components/functionalities:
- With [1] you can validate an XML document against an XML Schema.
- With [2] you can validate an XML document against a RelaxNG definition.
- With [3] you can validate your exchange (header and/or message body) using
Camel Predicates/Expressions.
- With [4] you can validate a POJO which has Java Bean Validation
annotations (JSR 303).

And of curse, you can provide your own validation Processor/Bean, if you
have different requirements...

Hope this helps.

[1] http://camel.apache.org/validation.html
[2] http://camel.apache.org/jing.html
[3] http://camel.apache.org/validate.html
[4] http://camel.apache.org/bean-validation.html

Best,
Christian

On Thu, Jul 28, 2011 at 5:14 AM, Robert J. Liguori <camel@gliesian.com>wrote:

> (1)
> Validation / camel-spring
> validation:**someLocalOrRemoteResource
> Reference: http://camel.apache.org/**components.html<http://camel.apache.org/components.html>
>
> (2)
> validator:com/mypackage/**myschema.xsd
> Reference: http://camel.apache.org/**validation.html<http://camel.apache.org/validation.html>
>
> Question:
> Which one is it (validation or validator)?
>
> --
> Sincerely,
> Robert J. Liguori
> STG Technologies, Inc.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message