Interface MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder

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

    public static interface MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder
    extends org.apache.camel.builder.EndpointProducerBuilder
    Advanced builder for endpoint for the MSV component.
    • Method Detail

      • errorHandler

        default MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder errorHandler​(Object errorHandler)
        To use a custom org.apache.camel.processor.validation.ValidatorErrorHandler. The default error handler captures the errors and throws an exception. The option is a: <code>org.apache.camel.support.processor.validation.ValidatorErrorHandler</code> type. Group: advanced
        Parameters:
        errorHandler - the value to set
        Returns:
        the dsl builder
      • errorHandler

        default MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder errorHandler​(String errorHandler)
        To use a custom org.apache.camel.processor.validation.ValidatorErrorHandler. The default error handler captures the errors and throws an exception. The option will be converted to a <code>org.apache.camel.support.processor.validation.ValidatorErrorHandler</code> type. Group: advanced
        Parameters:
        errorHandler - the value to set
        Returns:
        the dsl builder
      • resourceResolver

        default MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder resourceResolver​(Object resourceResolver)
        To use a custom LSResourceResolver. Do not use together with resourceResolverFactory. The option is a: <code>org.w3c.dom.ls.LSResourceResolver</code> type. Group: advanced
        Parameters:
        resourceResolver - the value to set
        Returns:
        the dsl builder
      • resourceResolver

        default MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder resourceResolver​(String resourceResolver)
        To use a custom LSResourceResolver. Do not use together with resourceResolverFactory. The option will be converted to a <code>org.w3c.dom.ls.LSResourceResolver</code> type. Group: advanced
        Parameters:
        resourceResolver - the value to set
        Returns:
        the dsl builder
      • resourceResolverFactory

        default MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder resourceResolverFactory​(Object resourceResolverFactory)
        To use a custom LSResourceResolver which depends on a dynamic endpoint resource URI. The default resource resolver factory resturns a resource resolver which can read files from the class path and file system. Do not use together with resourceResolver. The option is a: <code>org.apache.camel.component.validator.ValidatorResourceResolverFactory</code> type. Group: advanced
        Parameters:
        resourceResolverFactory - the value to set
        Returns:
        the dsl builder
      • resourceResolverFactory

        default MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder resourceResolverFactory​(String resourceResolverFactory)
        To use a custom LSResourceResolver which depends on a dynamic endpoint resource URI. The default resource resolver factory resturns a resource resolver which can read files from the class path and file system. Do not use together with resourceResolver. The option will be converted to a <code>org.apache.camel.component.validator.ValidatorResourceResolverFactory</code> type. Group: advanced
        Parameters:
        resourceResolverFactory - the value to set
        Returns:
        the dsl builder
      • schemaFactory

        default MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder schemaFactory​(Object schemaFactory)
        To use a custom javax.xml.validation.SchemaFactory. The option is a: <code>javax.xml.validation.SchemaFactory</code> type. Group: advanced
        Parameters:
        schemaFactory - the value to set
        Returns:
        the dsl builder
      • schemaFactory

        default MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder schemaFactory​(String schemaFactory)
        To use a custom javax.xml.validation.SchemaFactory. The option will be converted to a <code>javax.xml.validation.SchemaFactory</code> type. Group: advanced
        Parameters:
        schemaFactory - the value to set
        Returns:
        the dsl builder
      • schemaLanguage

        default MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder schemaLanguage​(String schemaLanguage)
        Configures the W3C XML Schema Namespace URI. The option is a: <code>java.lang.String</code> type. Default: http://www.w3.org/2001/XMLSchema Group: advanced
        Parameters:
        schemaLanguage - the value to set
        Returns:
        the dsl builder
      • useSharedSchema

        default MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder useSharedSchema​(boolean useSharedSchema)
        Whether the Schema instance should be shared or not. This option is introduced to work around a JDK 1.6.x bug. Xerces should not have this issue. The option is a: <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        useSharedSchema - the value to set
        Returns:
        the dsl builder
      • useSharedSchema

        default MsvEndpointBuilderFactory.AdvancedMsvEndpointBuilder useSharedSchema​(String useSharedSchema)
        Whether the Schema instance should be shared or not. This option is introduced to work around a JDK 1.6.x bug. Xerces should not have this issue. The option will be converted to a <code>boolean</code> type. Default: true Group: advanced
        Parameters:
        useSharedSchema - the value to set
        Returns:
        the dsl builder