squakez commented on issue #6502:
URL: https://github.com/apache/camel-k/issues/6502#issuecomment-4231045478
I wonder if the usage of `@ApplicationScoped` from Quarkus runtime would
suffice to have this done. Something like:
```java
@ApplicationScoped
public class MyRoute extends RouteBuilder {
public void configure() {
from("timer:bar").log("Hi");
}
}
```
so, annotating this in the dependency. In any case, this would have a
limitation to consider: the build time scan of the route, used by the operator
to discover capabilities, component, etc, would be skipped limiting the power
of the operator. I think that's the main feature of the operator and this
approach would defeat 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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]