New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Quarkus command mode #1037
Comments
I can take a look at this issue, please assign it to me. |
I just think if we support the command lines, it could be too late to pass the args to the camel context which could be started when the Quarkus bootstrap up. Or we have to defer the CamelMain.start() to the QuarkusApplication main method ? |
I think yes, when camel-main is enabled, then it should be started by the QuarkusApplication main method (like any other cmael-main based runtime) |
I also think we can revisit the way we do bootstrap camel-quarkus (naming is purely indicative):
We can then provide /cc @gnodet @davsclaus WDYT ? |
Oh @lburgazzoli thats a great idea to have different extensions for the different bootstrap modes. And we can also have camel-quarkus to log at INFO level which mode it runs in so the end user can better see this too - and we can also better document explain this and have different examples etc. Instead of some magic option in the application.properties file to switch mode. |
We can probably have a default and overrideable |
So the CamelBootstrapBuildItem might be introduced here to be added in the |
We don't need to control the bootstrap by an option but instead each "boostrap extension" should override the default |
Thanks @lburgazzoli - it looks like a big change to introduce the "bootstrap extension" and I think it could be better to raise a new issue. |
yeah I will |
https://github.com/quarkusio/quarkus/blob/master/docs/src/main/asciidoc/command-mode-reference.adoc
camel-main supports giving some arguments from the command line. i.e. hoe many messages to wait before to shut down so it would be nice if we can optionally support Quarkus' command mode
The text was updated successfully, but these errors were encountered: