JiriOndrusek opened a new issue, #4381: URL: https://github.com/apache/camel-quarkus/issues/4381
Usage of `CamelQuarkusTestSupport` brings a lot of restrictions, suggestion and not specified behavior. One thing that may happen and is not obvious might happen when RouteBuilder is used in not suggested way. If RouteBuilder is created for example with `@Produces` (or similar way): - camel-quarkus will apply this route builder for camel context when the application starts. - First test method of the class may successfully use these routes. - Another test method from the same class may not have those routes initialized (dependes on several things, like `@TestProfile`, `TestInstance`, ...). See https://github.com/apache/camel-quarkus/issues/4362 - Problem happens mainly when class runs with `true` as `isUseRouteBuilder` , which is the default value. It would be nice to add some kind of warning when both conditions are fulfilled: 1. `isUseRouteBuilder` is `true` 2. There is a RouteBuilder used by camel-quarkus at startup -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org