This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new aea22a347a Load Java DSL routes in a predicatable order
aea22a347a is described below
commit aea22a347a8b547c9fb788ab53deca2dc4c350bb
Author: James Netherton <[email protected]>
AuthorDate: Fri Dec 6 07:35:24 2024 +0000
Load Java DSL routes in a predicatable order
---
.../java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java
b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java
index e51892d0e7..2a57f58be5 100644
---
a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java
+++
b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelProcessor.java
@@ -404,6 +404,7 @@ class CamelProcessor {
.filter(ci -> ((ci.flags() & (Modifier.ABSTRACT |
Modifier.PUBLIC)) == Modifier.PUBLIC))
.map(ClassInfo::name)
.filter(pathFilter)
+ .sorted()
.map(CamelRoutesBuilderClassBuildItem::new)
.collect(Collectors.toList());
}