Class 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. {@see ValidatorDefinition} {@see Validator}
    • Constructor Detail

      • EndpointValidatorDefinition

        public EndpointValidatorDefinition()
    • Method Detail

      • 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.