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
Graceful shutdown strategy used as default one #3310
Graceful shutdown strategy used as default one #3310
Conversation
511ad35
to
a9a7129
Compare
...deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelContextProcessor.java
Show resolved
Hide resolved
@JiriOndrusek Looks good, still few questions. Logically, it should make |
...deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelContextProcessor.java
Outdated
Show resolved
Hide resolved
As a minimum, we could probably use |
I'll try to add a test. |
1caae8d
to
efaa9c6
Compare
efaa9c6
to
8f64fb5
Compare
@jamesnetherton , @aldettinger I added 3 tests:
|
@JiriOndrusek It looks better 👍 Do we have a test for core in DEV mode ? I mean without using camel-main in DEV mode. My current reading is that we will use the default shutdown strategy whereas no shutdown strategy would be preferrable ? About the doc change: Are you talking about stating in the doc that the shutdown strategy has changed ? IMHO, I don't think it is needed. |
@aldettinger I would say that the use of As for documentation. Current status was, that |
I agree. Maybe I missread that with the current implementation,
Ok, it's clearer now. I think James has an idea that this could be in the migration guide. I think it is a good option. |
Not entirely correct. |
I hope that following statement will make the current behavior clear. Current implementation is using only |
I'll add change into the migration doc - https://github.com/apache/camel-quarkus/tree/main/docs/modules/ROOT/pages/migration-guide |
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.
@JiriOndrusek I'm +1 on adding the documentation to the migration guide
And indeed, I see it that now it does not take into account whether camel main is disabled. So the test coverage is good 👍
8f64fb5
to
40cea3e
Compare
@aldettinger documentation is added. |
The migration guide is definitely the right place. We could merge this PR from my point of view 👍 |
fixes #3179
Adds following behavior:
noShutdownStrategy
is used)gracefulShutdownStrategy
(same a is used in the Camel) is used@ppalaga I think that this should be mentioned in some doc, do you have a suggestion where to write it?