anchor.diff:  elegantly:
   
   [source,java]
  -------------------------------------------------------------------------------------------
  +----
   import static org.apache.camel.component.hl7.HL7.messageConformsTo;
   import static org.apache.camel.component.hl7.HL7.ack;
   import ca.uhn.hl7v2.validation.impl.DefaultValidation;
  -...
   
     // Use standard or define your own validation rules
      ValidationContext defaultContext = new DefaultValidation(); 
  
positive.code:    from("direct:test1")
        .validate(messageConformsTo(defaultContext))
        .to("mock:test1");
  ----------------------------------------------------------------------
  
  ### HL7 Validation predicate using the HapiContext (Camel 2.14)
  
  The HAPI Context is always configured with a
  http://hl7api.sourceforge.net/base/apidocs/ca/uhn/hl7v2/validation/ValidationContext.html[ValidationContext]
  
negative.code: |`hapiContext` |`ca.uhn.hl7v2.DefaultHapiContext` |*Camel 2.14:* Custom HAPI context that can define a custom parser,
  custom ValidationContext etc. This gives you full control over the HL7
  parsing and rendering process.
  |===
  
  === Dependencies
  
  To use HL7 in your Camel routes you'll need to add a dependency on
  *camel-hl7* listed above, which implements this data format.
  