Skip to content

Commit

Permalink
Load Java DSL routes in a predicatable order
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed Dec 6, 2024
1 parent 11559ff commit 3daf6ec
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ public List<CamelRoutesBuilderClassBuildItem> discoverRoutesBuilderClassNames(
.filter(ci -> ((ci.flags() & (Modifier.ABSTRACT | Modifier.PUBLIC)) == Modifier.PUBLIC))
.map(ClassInfo::name)
.filter(pathFilter)
.sorted()
.map(CamelRoutesBuilderClassBuildItem::new)
.collect(Collectors.toList());
}
Expand Down

0 comments on commit 3daf6ec

Please sign in to comment.