title: Using Camel Bean validator Component
body: <p>I am getting an exception while using Camel Bean Validator. The exception is <code>No component found with scheme: bean-validator</code>
  And i have these dependencies in my POM</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;javax.validation&lt;/groupId&gt;
      &lt;artifactId&gt;validation-api&lt;/artifactId&gt;
      &lt;version&gt;1.1.0.Final&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
      &lt;artifactId&gt;camel-bean-validator&lt;/artifactId&gt;
      &lt;version&gt;2.13.2&lt;/version&gt; 
      &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>And i am using Bean Validator component as below</p>
  
  <pre><code>from("direct:XXX").process(new Processor() {
      @Override
      public void process(Exchange exchange) throws Exception {
          Car car = new Car();
          //car.setVehicleId(1);
          car.setName("Swift");
          car.setCompany("Maruti");
  
          exchange.getIn().setBody(car);              
      }
  }).to("bean-validator://x").process(new Processor() {
      @Override
      public void process(Exchange arg0) throws Exception {
          LOG.debug("Bean Validation is Success");
      }
  });
  </code></pre>
  
  <p>But when i am deploying the generated war into the Wildfly, am getting the exception <code>No component found with scheme: bean-validator</code>. To my surprise the code is working fine in standalone application.
  Your help is greatly appreciated.</p>