Interface ValidatorEndpointBuilderFactory.ValidatorBuilders

    • Method Detail

      • validator

        default ValidatorEndpointBuilderFactory.ValidatorEndpointBuilder validator​(String path)
        Validator (camel-validator) Validate the payload using XML Schema and JAXP Validation. Category: core,validation Since: 1.1 Maven coordinates: org.apache.camel:camel-validator Syntax: validator:resourceUri Path parameter: resourceUri (required) URL to a local resource on the classpath, or a reference to lookup a bean in the Registry, or a full URL to a remote resource or resource on the file system which contains the XSD to validate against.
        Parameters:
        path - resourceUri
        Returns:
        the dsl builder
      • validator

        default ValidatorEndpointBuilderFactory.ValidatorEndpointBuilder validator​(String componentName,
                                                                                   String path)
        Validator (camel-validator) Validate the payload using XML Schema and JAXP Validation. Category: core,validation Since: 1.1 Maven coordinates: org.apache.camel:camel-validator Syntax: validator:resourceUri Path parameter: resourceUri (required) URL to a local resource on the classpath, or a reference to lookup a bean in the Registry, or a full URL to a remote resource or resource on the file system which contains the XSD to validate against.
        Parameters:
        componentName - to use a custom component name for the endpoint instead of the default name
        path - resourceUri
        Returns:
        the dsl builder