Interface DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder

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

public static interface DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the Docling component.
  • Method Details

    • basic

    • lazyStartProducer

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder 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 DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder 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
    • abortOnError

      Abort processing on error. The option is a: java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      abortOnError - the value to set
      Returns:
      the dsl builder
    • abortOnError

      Abort processing on error. The option will be converted to a java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      abortOnError - the value to set
      Returns:
      the dsl builder
    • asyncPollInterval

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder asyncPollInterval(long asyncPollInterval)
      Polling interval for async conversion status in milliseconds. The option is a: long type. Default: 2000 Group: advanced
      Parameters:
      asyncPollInterval - the value to set
      Returns:
      the dsl builder
    • asyncPollInterval

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder asyncPollInterval(String asyncPollInterval)
      Polling interval for async conversion status in milliseconds. The option will be converted to a long type. Default: 2000 Group: advanced
      Parameters:
      asyncPollInterval - the value to set
      Returns:
      the dsl builder
    • asyncTimeout

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder asyncTimeout(long asyncTimeout)
      Maximum time to wait for async conversion completion in milliseconds. The option is a: long type. Default: 300000 Group: advanced
      Parameters:
      asyncTimeout - the value to set
      Returns:
      the dsl builder
    • asyncTimeout

      Maximum time to wait for async conversion completion in milliseconds. The option will be converted to a long type. Default: 300000 Group: advanced
      Parameters:
      asyncTimeout - the value to set
      Returns:
      the dsl builder
    • doclingCommand

      Path to Docling Python executable or command. The option is a: java.lang.String type. Group: advanced
      Parameters:
      doclingCommand - the value to set
      Returns:
      the dsl builder
    • doCodeEnrichment

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder doCodeEnrichment(Boolean doCodeEnrichment)
      Enable code enrichment in document processing. The option is a: java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      doCodeEnrichment - the value to set
      Returns:
      the dsl builder
    • doCodeEnrichment

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder doCodeEnrichment(String doCodeEnrichment)
      Enable code enrichment in document processing. The option will be converted to a java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      doCodeEnrichment - the value to set
      Returns:
      the dsl builder
    • documentTimeout

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder documentTimeout(Long documentTimeout)
      Document processing timeout in seconds. The option is a: java.lang.Long type. Group: advanced
      Parameters:
      documentTimeout - the value to set
      Returns:
      the dsl builder
    • documentTimeout

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder documentTimeout(String documentTimeout)
      Document processing timeout in seconds. The option will be converted to a java.lang.Long type. Group: advanced
      Parameters:
      documentTimeout - the value to set
      Returns:
      the dsl builder
    • doFormulaEnrichment

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder doFormulaEnrichment(Boolean doFormulaEnrichment)
      Enable formula enrichment in document processing. The option is a: java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      doFormulaEnrichment - the value to set
      Returns:
      the dsl builder
    • doFormulaEnrichment

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder doFormulaEnrichment(String doFormulaEnrichment)
      Enable formula enrichment in document processing. The option will be converted to a java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      doFormulaEnrichment - the value to set
      Returns:
      the dsl builder
    • doOcr

      Enable OCR processing in docling-serve API mode. When not set, the server uses its own defaults. Set enableOCR to false to explicitly disable OCR. The option is a: java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      doOcr - the value to set
      Returns:
      the dsl builder
    • doOcr

      Enable OCR processing in docling-serve API mode. When not set, the server uses its own defaults. Set enableOCR to false to explicitly disable OCR. The option will be converted to a java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      doOcr - the value to set
      Returns:
      the dsl builder
    • doPictureClassification

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder doPictureClassification(Boolean doPictureClassification)
      Enable picture classification in document processing. The option is a: java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      doPictureClassification - the value to set
      Returns:
      the dsl builder
    • doPictureClassification

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder doPictureClassification(String doPictureClassification)
      Enable picture classification in document processing. The option will be converted to a java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      doPictureClassification - the value to set
      Returns:
      the dsl builder
    • doPictureDescription

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder doPictureDescription(Boolean doPictureDescription)
      Enable picture description generation in document processing. The option is a: java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      doPictureDescription - the value to set
      Returns:
      the dsl builder
    • doPictureDescription

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder doPictureDescription(String doPictureDescription)
      Enable picture description generation in document processing. The option will be converted to a java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      doPictureDescription - the value to set
      Returns:
      the dsl builder
    • doTableStructure

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder doTableStructure(Boolean doTableStructure)
      Enable table structure recognition. The option is a: java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      doTableStructure - the value to set
      Returns:
      the dsl builder
    • doTableStructure

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder doTableStructure(String doTableStructure)
      Enable table structure recognition. The option will be converted to a java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      doTableStructure - the value to set
      Returns:
      the dsl builder
    • forceOcr

      Force OCR processing even for digital documents. The option is a: java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      forceOcr - the value to set
      Returns:
      the dsl builder
    • forceOcr

      Force OCR processing even for digital documents. The option will be converted to a java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      forceOcr - the value to set
      Returns:
      the dsl builder
    • imageExportMode

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder imageExportMode(String imageExportMode)
      Image export mode for referenced images. The option is a: java.lang.String type. Group: advanced
      Parameters:
      imageExportMode - the value to set
      Returns:
      the dsl builder
    • imagesScale

      Scale factor for exported images. The option is a: java.lang.Double type. Group: advanced
      Parameters:
      imagesScale - the value to set
      Returns:
      the dsl builder
    • imagesScale

      Scale factor for exported images. The option will be converted to a java.lang.Double type. Group: advanced
      Parameters:
      imagesScale - the value to set
      Returns:
      the dsl builder
    • includeImages

      Include images in the conversion output. The option is a: java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      includeImages - the value to set
      Returns:
      the dsl builder
    • includeImages

      Include images in the conversion output. The option will be converted to a java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      includeImages - the value to set
      Returns:
      the dsl builder
    • mdPageBreakPlaceholder

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder mdPageBreakPlaceholder(String mdPageBreakPlaceholder)
      Placeholder string for page breaks in markdown output. The option is a: java.lang.String type. Group: advanced
      Parameters:
      mdPageBreakPlaceholder - the value to set
      Returns:
      the dsl builder
    • ocrEngine

      OCR engine to use. The option is a: java.lang.String type. Group: advanced
      Parameters:
      ocrEngine - the value to set
      Returns:
      the dsl builder
    • pdfBackend

      PDF parsing backend. The option is a: java.lang.String type. Group: advanced
      Parameters:
      pdfBackend - the value to set
      Returns:
      the dsl builder
    • pipeline

      Processing pipeline to use. The option is a: java.lang.String type. Group: advanced
      Parameters:
      pipeline - the value to set
      Returns:
      the dsl builder
    • processTimeout

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder processTimeout(long processTimeout)
      Timeout for Docling process execution in milliseconds. The option is a: long type. Default: 30000 Group: advanced
      Parameters:
      processTimeout - the value to set
      Returns:
      the dsl builder
    • processTimeout

      Timeout for Docling process execution in milliseconds. The option will be converted to a long type. Default: 30000 Group: advanced
      Parameters:
      processTimeout - the value to set
      Returns:
      the dsl builder
    • tableCellMatching

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder tableCellMatching(Boolean tableCellMatching)
      Enable table cell matching post-processing. The option is a: java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      tableCellMatching - the value to set
      Returns:
      the dsl builder
    • tableCellMatching

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder tableCellMatching(String tableCellMatching)
      Enable table cell matching post-processing. The option will be converted to a java.lang.Boolean type. Default: false Group: advanced
      Parameters:
      tableCellMatching - the value to set
      Returns:
      the dsl builder
    • tableMode

      Table structure recognition mode. The option is a: java.lang.String type. Group: advanced
      Parameters:
      tableMode - the value to set
      Returns:
      the dsl builder
    • useAsyncMode

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder useAsyncMode(boolean useAsyncMode)
      Use asynchronous conversion mode (docling-serve API only). The option is a: boolean type. Default: false Group: advanced
      Parameters:
      useAsyncMode - the value to set
      Returns:
      the dsl builder
    • useAsyncMode

      Use asynchronous conversion mode (docling-serve API only). The option will be converted to a boolean type. Default: false Group: advanced
      Parameters:
      useAsyncMode - the value to set
      Returns:
      the dsl builder
    • workingDirectory

      default DoclingEndpointBuilderFactory.AdvancedDoclingEndpointBuilder workingDirectory(String workingDirectory)
      Working directory for Docling execution. The option is a: java.lang.String type. Group: advanced
      Parameters:
      workingDirectory - the value to set
      Returns:
      the dsl builder