You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "adam chen (Jira)" <ji...@apache.org> on 2023/05/16 07:08:00 UTC
[jira] [Created] (CAMEL-19359) When camel start graceful shutdown, it still receive new request during graceful shutdown.
adam chen created CAMEL-19359:
---------------------------------
Summary: When camel start graceful shutdown, it still receive new request during graceful shutdown.
Key: CAMEL-19359
URL: https://issues.apache.org/jira/browse/CAMEL-19359
Project: Camel
Issue Type: Bug
Components: camel-core-engine
Affects Versions: 3.20.4
Environment: [TestCode|https://github.com/chen19980/GracefulShutdown]
Reporter: adam chen
Attachments: 2023-05-16 10 24 30.jpg, 2023-05-16 10 26 23.jpg, 2023-05-16 10 27 58.jpg
< camel graceful shutdown time = 20s, the service thread.sleep = 10s >
In my test case, at first I started the application, send the first request and then stop the JVM to run the camel graceful shutdown, in the console show that there have 2 infilght messages pending to complete, after about 4 sec, I send the second request, in theroy, camel shouldn't accept the second request, unfortunately, it still receive new request.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)