1 Reply Latest reply on Apr 17, 2015 3:55 AM by Ashutosh kr

    camel-bean-validation issue

    A K Newbie

      Hi all,


      I am trying to run example for camel-bean-validation (Apache Camel: Bean Validation). Even after giving the hibernate validator jar in pom file, I keep getting below error:


      Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: bean-validator://x?group=OptionalChecks due to: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath.


      My pom file already has the following dependencies:

















      and my route is as follows:


      from uri="activemq:queue:payment"/>

      <unmarshal ref="paymentTransaction"/>

      <to uri="bean-validator://x?group=OptionalChecks"/>


      I am using blueprint to create the project. Please help me to resolve this issue.