[
https://issues.apache.org/activemq/browse/CAMEL-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Mueller updated CAMEL-2565:
-------------------------------------
Attachment: CAMEL-2565.patch
I implemented your suggested changes.
I have also done a little refactoring in my test classes, to avoid a much of
duplicated code.
The StringBuffer comes into my code, because i used the
'org.apache.camel.processor.validation.SchemaValidationException' as a template
for 'org.apache.camel.component.bean.validator.BeanValidationException'.
Therefore I opened the issue
[CAMEL-2632|https://issues.apache.org/activemq/browse/CAMEL-2632], because
Camel uses StringBuffer in many places, where StringBuilder could do the same
thing - but faster.
> Create a new camel-bean-validation component (based on JSR 303)
> ---------------------------------------------------------------
>
> Key: CAMEL-2565
> URL: https://issues.apache.org/activemq/browse/CAMEL-2565
> Project: Apache Camel
> Issue Type: New Feature
> Environment: All
> Reporter: Christian Mueller
> Assignee: Christian Mueller
> Fix For: 2.3.0
>
> Attachments: CAMEL-2565.patch, CAMEL-2565.patch, CAMEL-2565.patch,
> CAMEL-2565.patch
>
>
> We want provide a validation component for java beans (POJOs) based on [JSR
> 303|http://jcp.org/en/jsr/detail?id=303]. We want to use the reference
> implementation, which is [Hibernate
> Validator|http://docs.jboss.org/hibernate/stable/validator/reference/en/html_single/].
> The Hibernate Validator (the reference implementation for JSR 303) is
> licensed under the Apache License Version 2:
> http://anonsvn.jboss.org/repos/hibernate/validator/tags/v4_0_2_GA/license.txt
> but not published as an OSGI bundle. So, I opened the issue
> [SMX4-506]https://issues.apache.org/activemq/browse/SMX4-506] to provide an
> OSGI bundle for that library.
> Please have a look into
> [Nabble|http://old.nabble.com/Proposal-for-a-new-camel-bean-validation-component-based-on-jsr-303-tp27950969p27950969.html]
> for details.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira