heyplusyou commented on issue #1816: URL: https://github.com/apache/camel-quarkus/issues/1816#issuecomment-696656183
> ok, now I see what the problem is, working on a fix. > In the meantime, I think if you remove the `ApplicationScoped` it should not end up being loaded. I can confirm when I remove the @ApplicationScoped then its not starting automatically. But of course would be great to control it via properties > @heyplusyou btw, thinking about it a little bit more, unless you want to add the route yourself, if you only want to activate a route upon a condition, you can disable route's auto-startup as you are already doing, isn't that enough ? Yes and no, my idea was to start the route with different attributes e.g. for test environment I can just switch the directories. But its a good point, let me try it it. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org