You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/05/21 19:57:00 UTC
[jira] [Assigned] (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:all-tabpanel ]
Claus Ibsen reassigned CAMEL-19359:
-----------------------------------
Assignee: Claus Ibsen
> 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
> Assignee: Claus Ibsen
> 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-test]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)