camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-6047) Validator component - Add option to validate against message header instead of body
Date Thu, 28 Feb 2013 05:41:14 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-6047.
--------------------------------

    Resolution: Fixed

Added a little to the docs. Fell free to improve.
                
> Validator component - Add option to validate against message header instead of body
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-6047
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6047
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.11.0
>
>         Attachments: validation.patch
>
>
> This component
> http://camel.apache.org/validation.html
> Will validate the message body by default.
> It would be nice if you can refer to a message header to validate instead.
> {code}
> .to("validator:myschema.xsd?headerName=myData")
> {code}
> For example a new option named {{headerName}} to refer to a header.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message