[ https://issues.apache.org/jira/browse/CAMEL-19359 ]


    adam chen deleted comment on CAMEL-19359:
    -----------------------------------

was (Author: JIRAUSER298919):
!截圖 2023-05-22 20.23.23.png!

[~davsclaus] In my another test code, which dependency effect <the camel still 
receive 2nd request during shutdownning> this behavior.

> 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
>             Fix For: 3.21.0, 4.0-RC1, 4.0.0
>
>         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, 截圖 2023-05-22 20.23.23.png
>
>   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)

Reply via email to