Andrea Cosentino created CAMEL-28055:
----------------------------------------

             Summary: camel-docling: enforce batch timeouts and fail promptly 
on document errors
                 Key: CAMEL-28055
                 URL: https://issues.apache.org/jira/browse/CAMEL-28055
             Project: Camel
          Issue Type: Bug
            Reporter: Andrea Cosentino


Document conversion and structured extraction wait for all submitted tasks, and 
cancelling their CompletableFuture suppliers does not interrupt running tasks. 
Graceful executor shutdown can extend the wait after batchTimeout. Use 
interruptible local task cancellation and observe the first failed result as it 
completes when failOnFirstError is enabled. Preserve sub-batch ordering and 
partitioning from CAMEL-23120. Test timeout and fail-fast behavior with a 
controlled blocking client.

AI-generated by Codex on behalf of oscerd.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to