Interface XJEndpointBuilderFactory.AdvancedXJEndpointBuilder

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

public static interface XJEndpointBuilderFactory.AdvancedXJEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the XJ component.
  • Method Details

    • basic

    • lazyStartProducer

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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: boolean type. Default: false Group: producer (advanced)
      Parameters:
      lazyStartProducer - the value to set
      Returns:
      the dsl builder
    • lazyStartProducer

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder 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 boolean type. Default: false Group: producer (advanced)
      Parameters:
      lazyStartProducer - the value to set
      Returns:
      the dsl builder
    • entityResolver

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder entityResolver(EntityResolver entityResolver)
      To use a custom org.xml.sax.EntityResolver with javax.xml.transform.sax.SAXSource. The option is a: org.xml.sax.EntityResolver type. Group: advanced
      Parameters:
      entityResolver - the value to set
      Returns:
      the dsl builder
    • entityResolver

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder entityResolver(String entityResolver)
      To use a custom org.xml.sax.EntityResolver with javax.xml.transform.sax.SAXSource. The option will be converted to a org.xml.sax.EntityResolver type. Group: advanced
      Parameters:
      entityResolver - the value to set
      Returns:
      the dsl builder
    • errorListener

      Allows to configure to use a custom javax.xml.transform.ErrorListener. Beware when doing this then the default error listener which captures any errors or fatal errors and store information on the Exchange as properties is not in use. So only use this option for special use-cases. The option is a: javax.xml.transform.ErrorListener type. Group: advanced
      Parameters:
      errorListener - the value to set
      Returns:
      the dsl builder
    • errorListener

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder errorListener(String errorListener)
      Allows to configure to use a custom javax.xml.transform.ErrorListener. Beware when doing this then the default error listener which captures any errors or fatal errors and store information on the Exchange as properties is not in use. So only use this option for special use-cases. The option will be converted to a javax.xml.transform.ErrorListener type. Group: advanced
      Parameters:
      errorListener - the value to set
      Returns:
      the dsl builder
    • resultHandlerFactory

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder resultHandlerFactory(org.apache.camel.component.xslt.ResultHandlerFactory resultHandlerFactory)
      Allows you to use a custom org.apache.camel.builder.xml.ResultHandlerFactory which is capable of using custom org.apache.camel.builder.xml.ResultHandler types. The option is a: org.apache.camel.component.xslt.ResultHandlerFactory type. Group: advanced
      Parameters:
      resultHandlerFactory - the value to set
      Returns:
      the dsl builder
    • resultHandlerFactory

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder resultHandlerFactory(String resultHandlerFactory)
      Allows you to use a custom org.apache.camel.builder.xml.ResultHandlerFactory which is capable of using custom org.apache.camel.builder.xml.ResultHandler types. The option will be converted to a org.apache.camel.component.xslt.ResultHandlerFactory type. Group: advanced
      Parameters:
      resultHandlerFactory - the value to set
      Returns:
      the dsl builder
    • saxonConfiguration

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder saxonConfiguration(net.sf.saxon.Configuration saxonConfiguration)
      To use a custom Saxon configuration. The option is a: net.sf.saxon.Configuration type. Group: advanced
      Parameters:
      saxonConfiguration - the value to set
      Returns:
      the dsl builder
    • saxonConfiguration

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder saxonConfiguration(String saxonConfiguration)
      To use a custom Saxon configuration. The option will be converted to a net.sf.saxon.Configuration type. Group: advanced
      Parameters:
      saxonConfiguration - the value to set
      Returns:
      the dsl builder
    • saxonExtensionFunctions

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder saxonExtensionFunctions(String saxonExtensionFunctions)
      Allows you to use a custom net.sf.saxon.lib.ExtensionFunctionDefinition. You would need to add camel-saxon to the classpath. The function is looked up in the registry, where you can comma to separate multiple values to lookup. The option is a: java.lang.String type. Group: advanced
      Parameters:
      saxonExtensionFunctions - the value to set
      Returns:
      the dsl builder
    • secureProcessing

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder secureProcessing(boolean secureProcessing)
      Feature for XML secure processing (see javax.xml.XMLConstants). This is enabled by default. However, when using Saxon Professional you may need to turn this off to allow Saxon to be able to use Java extension functions. The option is a: boolean type. Default: true Group: advanced
      Parameters:
      secureProcessing - the value to set
      Returns:
      the dsl builder
    • secureProcessing

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder secureProcessing(String secureProcessing)
      Feature for XML secure processing (see javax.xml.XMLConstants). This is enabled by default. However, when using Saxon Professional you may need to turn this off to allow Saxon to be able to use Java extension functions. The option will be converted to a boolean type. Default: true Group: advanced
      Parameters:
      secureProcessing - the value to set
      Returns:
      the dsl builder
    • transformerFactory

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder transformerFactory(TransformerFactory transformerFactory)
      To use a custom XSLT transformer factory. The option is a: javax.xml.transform.TransformerFactory type. Group: advanced
      Parameters:
      transformerFactory - the value to set
      Returns:
      the dsl builder
    • transformerFactory

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder transformerFactory(String transformerFactory)
      To use a custom XSLT transformer factory. The option will be converted to a javax.xml.transform.TransformerFactory type. Group: advanced
      Parameters:
      transformerFactory - the value to set
      Returns:
      the dsl builder
    • transformerFactoryClass

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder transformerFactoryClass(String transformerFactoryClass)
      To use a custom XSLT transformer factory, specified as a FQN class name. The option is a: java.lang.String type. Group: advanced
      Parameters:
      transformerFactoryClass - the value to set
      Returns:
      the dsl builder
    • transformerFactoryConfigurationStrategy

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder transformerFactoryConfigurationStrategy(org.apache.camel.component.xslt.TransformerFactoryConfigurationStrategy transformerFactoryConfigurationStrategy)
      A configuration strategy to apply on freshly created instances of TransformerFactory. The option is a: org.apache.camel.component.xslt.TransformerFactoryConfigurationStrategy type. Group: advanced
      Parameters:
      transformerFactoryConfigurationStrategy - the value to set
      Returns:
      the dsl builder
    • transformerFactoryConfigurationStrategy

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder transformerFactoryConfigurationStrategy(String transformerFactoryConfigurationStrategy)
      A configuration strategy to apply on freshly created instances of TransformerFactory. The option will be converted to a org.apache.camel.component.xslt.TransformerFactoryConfigurationStrategy type. Group: advanced
      Parameters:
      transformerFactoryConfigurationStrategy - the value to set
      Returns:
      the dsl builder
    • uriResolver

      To use a custom javax.xml.transform.URIResolver. The option is a: javax.xml.transform.URIResolver type. Group: advanced
      Parameters:
      uriResolver - the value to set
      Returns:
      the dsl builder
    • uriResolver

      To use a custom javax.xml.transform.URIResolver. The option will be converted to a javax.xml.transform.URIResolver type. Group: advanced
      Parameters:
      uriResolver - the value to set
      Returns:
      the dsl builder
    • xsltMessageLogger

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder xsltMessageLogger(org.apache.camel.component.xslt.XsltMessageLogger xsltMessageLogger)
      A consumer to messages generated during XSLT transformations. The option is a: org.apache.camel.component.xslt.XsltMessageLogger type. Group: advanced
      Parameters:
      xsltMessageLogger - the value to set
      Returns:
      the dsl builder
    • xsltMessageLogger

      default XJEndpointBuilderFactory.AdvancedXJEndpointBuilder xsltMessageLogger(String xsltMessageLogger)
      A consumer to messages generated during XSLT transformations. The option will be converted to a org.apache.camel.component.xslt.XsltMessageLogger type. Group: advanced
      Parameters:
      xsltMessageLogger - the value to set
      Returns:
      the dsl builder