You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there may be an (unintended) issue regarding route discovery 🤔
I configured quarkus.camel.routes-discovery.include-patterns setting to control which routes should be discovered:
quarkus:
camel:
routes-discovery:
enabled: trueinclude-patterns:
- tld/domain/route/* # Routes defined in tld.domain.route package
With this configuration, I would expect that no routes, other than the ones defined in include-patterns, will be discovered. This works fine as long as there aren't any RouteBuilder classes with bean-scoped annotations — they will be included as well, regardless of the aforementioned settings.
Is this behavior intended, or could it be considered a bug? I was under the assumption that include-patterns will strictly limit the discovery.
I have reviewed the documentation but could not find any specific mention of this behavior.
The text was updated successfully, but these errors were encountered:
Bug description
I think there may be an (unintended) issue regarding route discovery 🤔
I configured
quarkus.camel.routes-discovery.include-patterns
setting to control which routes should be discovered:With this configuration, I would expect that no routes, other than the ones defined in
include-patterns
, will be discovered. This works fine as long as there aren't anyRouteBuilder
classes with bean-scoped annotations — they will be included as well, regardless of the aforementioned settings.Is this behavior intended, or could it be considered a bug? I was under the assumption that
include-patterns
will strictly limit the discovery.I have reviewed the documentation but could not find any specific mention of this behavior.
The text was updated successfully, but these errors were encountered: