You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by al...@apache.org on 2024/10/22 15:44:12 UTC

(camel-quarkus-examples) branch camel-quarkus-main updated: data-extract: Fix possible test flakiness

This is an automated email from the ASF dual-hosted git repository.

aldettinger pushed a commit to branch camel-quarkus-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git


The following commit(s) were added to refs/heads/camel-quarkus-main by this push:
     new 0190e5a  data-extract: Fix possible test flakiness
0190e5a is described below

commit 0190e5a09bde5a1c9e99be62b7d020f0f1cd9937
Author: aldettinger <al...@gmail.com>
AuthorDate: Tue Oct 22 17:06:25 2024 +0200

    data-extract: Fix possible test flakiness
---
 data-extract-langchain4j/src/main/java/org/acme/extraction/Routes.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data-extract-langchain4j/src/main/java/org/acme/extraction/Routes.java b/data-extract-langchain4j/src/main/java/org/acme/extraction/Routes.java
index c20845b..e3b48cc 100644
--- a/data-extract-langchain4j/src/main/java/org/acme/extraction/Routes.java
+++ b/data-extract-langchain4j/src/main/java/org/acme/extraction/Routes.java
@@ -33,7 +33,7 @@ public class Routes extends RouteBuilder {
     public void configure() {
 
         // Consumes file documents that contain conversation transcripts (JSON format)
-        from("file:target/transcripts")
+        from("file:target/transcripts?sortBy=file:name")
                 .log("A document has been received by the camel-quarkus-file extension: ${body}")
                 .setHeader("expectedDateFormat", constant("YYYY-MM-DD"))
                 // The CustomPojoExtractionService transforms the conversation transcript into a CustomPojoExtractionService.CustomPojo