title: How to validate request headers in Camel Rest
body: <p>I'm trying to build a get request and was wondering how to validate the incoming request whether it has the mandatory headers in the request. My code is </p>
  
  <pre><code>rest("/employee").id("get-Heartbeat").produces(JSON_MEDIA_TYPE)
              .get().description("The heartbeat API").outType(Employee.class)
              .responseMessage().code(HttpStatus.OK.toString()).message("Employee data").endResponseMessage()
              .to("bean:EmployeeService?method=getEmployee()");
  </code></pre>
  
  <p>The Manadatory headers that I wanted to validate is header1, header2, header3.</p>