JiriOndrusek commented on issue #4362:
URL: https://github.com/apache/camel-quarkus/issues/4362#issuecomment-1373485701

   @guhilling  I'll try to help from the top of my head. I'll simulate it in 
about an hour.
   
    You can use 
`quarkus.camel.routes-discovery.include-patterns=some/package/RouteBuilder1` to 
include only RouteBuilder1 into the context.
    
   How it works: camel-quarkus app gathers all routeBuilders and then apply 
exclude/include patterns into the class of RouteBuilder, See this 
[code](https://github.com/apache/camel-quarkus/blob/main/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/RegistryRoutesLoaders.java#L117).
   Therefore if you include only some routeBuilders, only those will be present 
for the tests.
   
   I'll  work on an test covering this scenario later,but I hope that this idea 
helps you.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to