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/21 12:16:00 UTC
[jira] [Comment Edited] (CAMEL-19359) camel-spring-boot - When camel start graceful shutdown, it still receive new request during graceful shutdown.
[ https://issues.apache.org/jira/browse/CAMEL-19359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17724639#comment-17724639 ]
adam chen edited comment on CAMEL-19359 at 5/21/23 12:15 PM:
-------------------------------------------------------------
[~davsclaus] OK, I will offer another simple example.
was (Author: JIRAUSER298919):
[~davsclaus] OK, I will offer another simple example.
> camel-spring-boot - 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
> Affects Versions: 3.20.4
> Environment: I use the DefaultShutdownStrategy.
> < the module is camel-base-engine 3.20.4 >
> Reporter: adam chen
> Priority: Minor
> Attachments: 2023-05-16 10 24 30.jpg, 2023-05-16 10 26 23.jpg, 2023-05-16 10 27 58.jpg, 2023-05-16 15 13 59.jpg
>
> Original Estimate: 120h
> Remaining Estimate: 120h
>
> < 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.
> [TestCode|https://github.com/chen19980/GracefulShutdown]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)