Class EndpointValidatorDefinition

java.lang.Object
org.apache.camel.model.validator.ValidatorDefinition
org.apache.camel.model.validator.EndpointValidatorDefinition

@Metadata(label="validation") public class EndpointValidatorDefinition extends ValidatorDefinition
Represents an endpoint Validator which leverages camel validator component such as Validator Component and Bean Validator Component to perform content validation. A ProcessorValidator will be created internally with a SendProcessor which forwards the message to the validator Endpoint.
  • Constructor Details

    • EndpointValidatorDefinition

      public EndpointValidatorDefinition()
  • Method Details

    • getRef

      public String getRef()
    • setRef

      public void setRef(String ref)
      Set the reference of the Endpoint.
    • getUri

      public String getUri()
    • setUri

      public void setUri(String uri)
      Set the URI of the Endpoint.