Skip to content

Commit

Permalink
Fixed main-xml-jaxb because of CAMEL-19765
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriOndrusek committed Aug 29, 2023
1 parent 07bd05d commit b97d9d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ quarkus.log.file.path = target/quarkus.log
#
camel.context.name=quarkus-camel-example
camel.rest.component = platform-http
camel.main.dumpRoutesInclude = all

#
# Main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ public void testDumpRoutes() {
}

private boolean logContainsDumpedRoutes(String log) {
return log.contains("<route customId=\"true\" id=\"my-xml-route\">") &&
log.contains("<route customId=\"true\" id=\"rest-route\">") &&
log.contains("<rest customId=\"true\" id=\"greet\" path=\"/greeting\">") &&
log.contains("<routeTemplate customId=\"true\" id=\"myTemplate\">");
return log.contains("<route id=\"my-xml-route\">") &&
log.contains("<route id=\"rest-route\">") &&
log.contains("<rest id=\"greet\" path=\"/greeting\">") &&
log.contains("<routeTemplate id=\"myTemplate\">");
}
}

0 comments on commit b97d9d3

Please sign in to comment.