Interface BeanValidatorEndpointBuilderFactory.AdvancedBeanValidatorEndpointBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointProducerBuilder, org.apache.camel.EndpointProducerResolver
    Enclosing interface:
    BeanValidatorEndpointBuilderFactory

    public static interface BeanValidatorEndpointBuilderFactory.AdvancedBeanValidatorEndpointBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Advanced builder for endpoint for the Bean Validator component.
    • Method Detail

      • lazyStartProducer

        default BeanValidatorEndpointBuilderFactory.AdvancedBeanValidatorEndpointBuilder lazyStartProducer​(boolean lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • lazyStartProducer

        default BeanValidatorEndpointBuilderFactory.AdvancedBeanValidatorEndpointBuilder lazyStartProducer​(String lazyStartProducer)
        Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • constraintValidatorFactory

        default BeanValidatorEndpointBuilderFactory.AdvancedBeanValidatorEndpointBuilder constraintValidatorFactory​(javax.validation.ConstraintValidatorFactory constraintValidatorFactory)
        To use a custom ConstraintValidatorFactory. The option is a: <code>javax.validation.ConstraintValidatorFactory</code> type. Group: advanced
        Parameters:
        constraintValidatorFactory - the value to set
        Returns:
        the dsl builder
      • constraintValidatorFactory

        default BeanValidatorEndpointBuilderFactory.AdvancedBeanValidatorEndpointBuilder constraintValidatorFactory​(String constraintValidatorFactory)
        To use a custom ConstraintValidatorFactory. The option will be converted to a <code>javax.validation.ConstraintValidatorFactory</code> type. Group: advanced
        Parameters:
        constraintValidatorFactory - the value to set
        Returns:
        the dsl builder
      • messageInterpolator

        default BeanValidatorEndpointBuilderFactory.AdvancedBeanValidatorEndpointBuilder messageInterpolator​(javax.validation.MessageInterpolator messageInterpolator)
        To use a custom MessageInterpolator. The option is a: <code>javax.validation.MessageInterpolator</code> type. Group: advanced
        Parameters:
        messageInterpolator - the value to set
        Returns:
        the dsl builder
      • traversableResolver

        default BeanValidatorEndpointBuilderFactory.AdvancedBeanValidatorEndpointBuilder traversableResolver​(javax.validation.TraversableResolver traversableResolver)
        To use a custom TraversableResolver. The option is a: <code>javax.validation.TraversableResolver</code> type. Group: advanced
        Parameters:
        traversableResolver - the value to set
        Returns:
        the dsl builder
      • validationProviderResolver

        default BeanValidatorEndpointBuilderFactory.AdvancedBeanValidatorEndpointBuilder validationProviderResolver​(javax.validation.ValidationProviderResolver validationProviderResolver)
        To use a a custom ValidationProviderResolver. The option is a: <code>javax.validation.ValidationProviderResolver</code> type. Group: advanced
        Parameters:
        validationProviderResolver - the value to set
        Returns:
        the dsl builder
      • validationProviderResolver

        default BeanValidatorEndpointBuilderFactory.AdvancedBeanValidatorEndpointBuilder validationProviderResolver​(String validationProviderResolver)
        To use a a custom ValidationProviderResolver. The option will be converted to a <code>javax.validation.ValidationProviderResolver</code> type. Group: advanced
        Parameters:
        validationProviderResolver - the value to set
        Returns:
        the dsl builder
      • validatorFactory

        default BeanValidatorEndpointBuilderFactory.AdvancedBeanValidatorEndpointBuilder validatorFactory​(javax.validation.ValidatorFactory validatorFactory)
        To use a custom ValidatorFactory. The option is a: <code>javax.validation.ValidatorFactory</code> type. Group: advanced
        Parameters:
        validatorFactory - the value to set
        Returns:
        the dsl builder