Interface DoclingEndpointBuilderFactory.DoclingEndpointBuilder

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

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

    • advanced

    • contentInBody

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder contentInBody(boolean contentInBody)
      Include the content of the output file in the exchange body and delete the output file. The option is a: boolean type. Default: false Group: producer
      Parameters:
      contentInBody - the value to set
      Returns:
      the dsl builder
    • contentInBody

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder contentInBody(String contentInBody)
      Include the content of the output file in the exchange body and delete the output file. The option will be converted to a boolean type. Default: false Group: producer
      Parameters:
      contentInBody - the value to set
      Returns:
      the dsl builder
    • doclingServeUrl

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder doclingServeUrl(String doclingServeUrl)
      Docling-serve API URL (e.g., http://localhost:5001). The option is a: java.lang.String type. Default: http://localhost:5001 Group: producer
      Parameters:
      doclingServeUrl - the value to set
      Returns:
      the dsl builder
    • enableOCR

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder enableOCR(boolean enableOCR)
      Enable OCR processing for scanned documents. The option is a: boolean type. Default: true Group: producer
      Parameters:
      enableOCR - the value to set
      Returns:
      the dsl builder
    • enableOCR

      Enable OCR processing for scanned documents. The option will be converted to a boolean type. Default: true Group: producer
      Parameters:
      enableOCR - the value to set
      Returns:
      the dsl builder
    • includeLayoutInfo

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder includeLayoutInfo(boolean includeLayoutInfo)
      Show layout information with bounding boxes. The option is a: boolean type. Default: false Group: producer
      Parameters:
      includeLayoutInfo - the value to set
      Returns:
      the dsl builder
    • includeLayoutInfo

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder includeLayoutInfo(String includeLayoutInfo)
      Show layout information with bounding boxes. The option will be converted to a boolean type. Default: false Group: producer
      Parameters:
      includeLayoutInfo - the value to set
      Returns:
      the dsl builder
    • ocrLanguage

      Language code for OCR processing. The option is a: java.lang.String type. Default: en Group: producer
      Parameters:
      ocrLanguage - the value to set
      Returns:
      the dsl builder
    • operation

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder operation(org.apache.camel.component.docling.DoclingOperations operation)
      The operation to perform. The option is a: org.apache.camel.component.docling.DoclingOperations type. Required: true Default: CONVERT_TO_MARKDOWN Group: producer
      Parameters:
      operation - the value to set
      Returns:
      the dsl builder
    • operation

      The operation to perform. The option will be converted to a org.apache.camel.component.docling.DoclingOperations type. Required: true Default: CONVERT_TO_MARKDOWN Group: producer
      Parameters:
      operation - the value to set
      Returns:
      the dsl builder
    • outputFormat

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder outputFormat(String outputFormat)
      Output format for document conversion. The option is a: java.lang.String type. Default: markdown Group: producer
      Parameters:
      outputFormat - the value to set
      Returns:
      the dsl builder
    • useDoclingServe

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder useDoclingServe(boolean useDoclingServe)
      Use docling-serve API instead of CLI command. The option is a: boolean type. Default: false Group: producer
      Parameters:
      useDoclingServe - the value to set
      Returns:
      the dsl builder
    • useDoclingServe

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder useDoclingServe(String useDoclingServe)
      Use docling-serve API instead of CLI command. The option will be converted to a boolean type. Default: false Group: producer
      Parameters:
      useDoclingServe - the value to set
      Returns:
      the dsl builder
    • batchFailOnFirstError

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder batchFailOnFirstError(boolean batchFailOnFirstError)
      Fail entire batch on first error (true) or continue processing remaining documents (false). The option is a: boolean type. Default: true Group: batch
      Parameters:
      batchFailOnFirstError - the value to set
      Returns:
      the dsl builder
    • batchFailOnFirstError

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder batchFailOnFirstError(String batchFailOnFirstError)
      Fail entire batch on first error (true) or continue processing remaining documents (false). The option will be converted to a boolean type. Default: true Group: batch
      Parameters:
      batchFailOnFirstError - the value to set
      Returns:
      the dsl builder
    • batchParallelism

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder batchParallelism(int batchParallelism)
      Number of parallel threads for batch processing. The option is a: int type. Default: 4 Group: batch
      Parameters:
      batchParallelism - the value to set
      Returns:
      the dsl builder
    • batchParallelism

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder batchParallelism(String batchParallelism)
      Number of parallel threads for batch processing. The option will be converted to a int type. Default: 4 Group: batch
      Parameters:
      batchParallelism - the value to set
      Returns:
      the dsl builder
    • batchSize

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder batchSize(int batchSize)
      Maximum number of documents to process in a single batch (batch operations only). The option is a: int type. Default: 10 Group: batch
      Parameters:
      batchSize - the value to set
      Returns:
      the dsl builder
    • batchSize

      Maximum number of documents to process in a single batch (batch operations only). The option will be converted to a int type. Default: 10 Group: batch
      Parameters:
      batchSize - the value to set
      Returns:
      the dsl builder
    • batchTimeout

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

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder batchTimeout(String batchTimeout)
      Maximum time to wait for batch completion in milliseconds. The option will be converted to a long type. Default: 300000 Group: batch
      Parameters:
      batchTimeout - the value to set
      Returns:
      the dsl builder
    • splitBatchResults

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder splitBatchResults(boolean splitBatchResults)
      Split batch results into individual exchanges (one per document) instead of single BatchProcessingResults. The option is a: boolean type. Default: false Group: batch
      Parameters:
      splitBatchResults - the value to set
      Returns:
      the dsl builder
    • splitBatchResults

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder splitBatchResults(String splitBatchResults)
      Split batch results into individual exchanges (one per document) instead of single BatchProcessingResults. The option will be converted to a boolean type. Default: false Group: batch
      Parameters:
      splitBatchResults - the value to set
      Returns:
      the dsl builder
    • includeMetadataInHeaders

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder includeMetadataInHeaders(boolean includeMetadataInHeaders)
      Include metadata in message headers when extracting metadata. The option is a: boolean type. Default: true Group: metadata
      Parameters:
      includeMetadataInHeaders - the value to set
      Returns:
      the dsl builder
    • includeMetadataInHeaders

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder includeMetadataInHeaders(String includeMetadataInHeaders)
      Include metadata in message headers when extracting metadata. The option will be converted to a boolean type. Default: true Group: metadata
      Parameters:
      includeMetadataInHeaders - the value to set
      Returns:
      the dsl builder
    • includeRawMetadata

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder includeRawMetadata(boolean includeRawMetadata)
      Include raw metadata as returned by the parser. The option is a: boolean type. Default: false Group: metadata
      Parameters:
      includeRawMetadata - the value to set
      Returns:
      the dsl builder
    • includeRawMetadata

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder includeRawMetadata(String includeRawMetadata)
      Include raw metadata as returned by the parser. The option will be converted to a boolean type. Default: false Group: metadata
      Parameters:
      includeRawMetadata - the value to set
      Returns:
      the dsl builder
    • apiKeyHeader

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder apiKeyHeader(String apiKeyHeader)
      Header name for API key authentication. The option is a: java.lang.String type. Default: X-API-Key Group: security
      Parameters:
      apiKeyHeader - the value to set
      Returns:
      the dsl builder
    • authenticationScheme

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder authenticationScheme(org.apache.camel.component.docling.AuthenticationScheme authenticationScheme)
      Authentication scheme (BEARER, API_KEY, NONE). The option is a: org.apache.camel.component.docling.AuthenticationScheme type. Default: NONE Group: security
      Parameters:
      authenticationScheme - the value to set
      Returns:
      the dsl builder
    • authenticationScheme

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder authenticationScheme(String authenticationScheme)
      Authentication scheme (BEARER, API_KEY, NONE). The option will be converted to a org.apache.camel.component.docling.AuthenticationScheme type. Default: NONE Group: security
      Parameters:
      authenticationScheme - the value to set
      Returns:
      the dsl builder
    • authenticationToken

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder authenticationToken(String authenticationToken)
      Authentication token for docling-serve API (Bearer token or API key). The option is a: java.lang.String type. Group: security
      Parameters:
      authenticationToken - the value to set
      Returns:
      the dsl builder
    • maxFileSize

      default DoclingEndpointBuilderFactory.DoclingEndpointBuilder maxFileSize(long maxFileSize)
      Maximum file size in bytes for processing. The option is a: long type. Default: 52428800 Group: security
      Parameters:
      maxFileSize - the value to set
      Returns:
      the dsl builder
    • maxFileSize

      Maximum file size in bytes for processing. The option will be converted to a long type. Default: 52428800 Group: security
      Parameters:
      maxFileSize - the value to set
      Returns:
      the dsl builder