-
Notifications
You must be signed in to change notification settings - Fork 12
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
#36: make configuration value url optional #82
#36: make configuration value url optional #82
Conversation
...deployment/src/main/java/io/quarkus/artemis/core/deployment/DevServicesArtemisProcessor.java
Outdated
Show resolved
Hide resolved
Pretty big, will review it later next week |
It looks actually bigger than it is. Most changes (about 100 file changes, give or take) are due to additional test modules, but the tests are mostly the same, with only minor changes. I also took the liberty and did some general cleanup, e.g. replacing field- with constructor-injection where possible, some renamings for clarity, ... |
core/runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisCoreRecorder.java
Show resolved
Hide resolved
...runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisDevServicesBuildTimeConfig.java
Outdated
Show resolved
Hide resolved
...runtime/src/main/java/io/quarkus/artemis/core/runtime/ArtemisDevServicesBuildTimeConfig.java
Show resolved
Hide resolved
core/runtime/src/main/java/io/quarkus/artemis/core/runtime/health/ServerLocatorHealthCheck.java
Outdated
Show resolved
Hide resolved
core/runtime/src/main/java/io/quarkus/artemis/core/runtime/health/ServerLocatorHealthCheck.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked the source code and put a few comments and skimmed the tests. If there is anything of particular interest in the tests, let me know.
@ppalaga Can you check if this would solve your issue?
Only important question is: is the amount of tests (and especially the amount of native image builds) okay? Right now, we are building six native images, a build runs for ~30 minutes. |
@zhfeng could you please check if this solves apache/camel-quarkus#2857 for us? |
That is really the downside of native builds. I don't know if there is an option to only do it once discussion is over. |
Thanks again! I leave it open to get feedback from Camel people, but looks good to me. |
Thanks @turing85 and I think it is good to resolve apache/camel-quarkus#2857. |
This is partially correct. Basically, if we load the extension without any configuration, no injectable bean will be created, and the health endpoint will return |
OK, I get it. In camel-qurakus-jms, we have a use case to create a custom
and to use it in the camel routers. So if we can find a way to enable the health check in this scenario, it would be great. I'm not sure what is about the |
The health of those connection factories are represented as key-value pairs in the health check. The key is a display name, the value is it status (see e.g. here). In the example you gave, the name is |
Thanks for explainations. Can we create a follow up issue to track this improvement? and all of others are good to me. Thanks for your contribution again! |
@zhfeng I have created #84 to track the follow-up.
|
No, I think the pooling is still enabled and just add support for transaction manager integration. |
Yeah, I saw the call to |
Resolves #36