camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Mueller (JIRA)" <>
Subject [jira] Commented: (CAMEL-1537) Predicate for validation
Date Thu, 20 May 2010 11:37:18 GMT


Christian Mueller commented on CAMEL-1537:

Thank you Willem and Claus,

and sorry for the confusion. I would only a feedback, whether or not I'm on the right way...
I will have a look on the modified code and work on the bean and xml schema validation feature.
I will also update the documentation in the next days.

I still learning how the Camel processor, predicate, expression, definition, ... staff works.
I think I need some more hours for that.
I prefer to work next on the bean validation. I have the following DSL in my mind:


I'm not happy with "group", but I have no better idea. Alternatives I thought about are "jsr303"
or "bean"...
I'm also not sure, whether or not 


is better. Please guide my.


> Predicate for validation 
> -------------------------
>                 Key: CAMEL-1537
>                 URL:
>             Project: Apache Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Christian Mueller
>            Priority: Minor
>             Fix For: 2.4.0
>         Attachments: CAMEL-1537.patch
> The current validator is a component and its a bit clumsy as it throws an exception if
validation error.
> So if we have a nice Predicate for it, it can be like a xpath predicate or the likes.
> [17:58]  <jstrachan>
> [17:58]  <ulhasb> jstrachan: thanks for the quick responses
> [17:59]  <cibsen> jstrachan we should maybe have a predicate for schema validation
> [17:59]  <cibsen> then you can route it a bit more nice without try .. catch
> [18:00]  * fbolton has quit ("Leaving.")
> [18:03]  * gertv has quit (Client closed connection)
> [18:05]  <jstrachan> cibsen: yeah
> [18:05]  <jstrachan> cibsen: maybe a kinda predicate language using the other validators?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message