[ 
https://issues.apache.org/jira/browse/CAMEL-20465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-20465:
--------------------------------
    Description: 
I had a Camel jbang running overnight for 17+ hours, and this morning when I 
terminate the app, it report the uptime is 5 hours. Its a bit mysterious as its 
missing 12 hours.

It was started at

~/workspace/deleteme ❯ camel run beer-jq.yaml --metrics                         
                                                                                
                  ✘ INT 45s
2024-02-26 17:27:42.007  INFO 4674 --- [           main] 
org.apache.camel.main.MainSupport   : Apache Camel (JBang) 4.5.0-SNAPSHOT is 
starting

And then shutdown at:



2024-02-27 06:37:29.923  INFO 4674 --- [ - timer://beer] beer-jq.yaml:16        
             : Brand of beer: Paulaner and the name is Trappistes Rochefort 8 
and it taste good!
^C2024-02-27 06:37:32.938  INFO 4674 --- [           main] 
el.impl.engine.AbstractCamelContext : Apache Camel 4.5.0-SNAPSHOT (beer-jq) is 
shutting down (timeout:10s)
2024-02-27 06:37:32.951  INFO 4674 --- [           main] 
el.impl.engine.AbstractCamelContext : Routes stopped (total:1 stopped:1 
kamelets:1)
2024-02-27 06:37:32.951  INFO 4674 --- [           main] 
el.impl.engine.AbstractCamelContext :     Stopped route-66b0 
(kamelet://beer-source)
2024-02-27 06:37:32.966  INFO 4674 --- [ntloop-thread-0] 
.http.vertx.VertxPlatformHttpServer : Vert.x HttpServer stopped
2024-02-27 06:37:32.968  INFO 4674 --- [           main] 
el.impl.engine.AbstractCamelContext : Apache Camel 4.5.0-SNAPSHOT (beer-jq) 
shutdown in 29ms (uptime:5h15m)
2024-02-27 06:37:32.968  INFO 4674 --- [           main] 
org.apache.camel.main.MainSupport   : Apache Camel (JBang) 4.5.0-SNAPSHOT 
shutdown

  was:
I had a Camel jbang running overnight for 17+ hours, and this morning when I 
terminate the app, it report the uptime is 5 hours. Its a bit mysterious as its 
missing 12 hours.

It was started at



2024-02-27 06:37:29.923  INFO 4674 --- [ - timer://beer] beer-jq.yaml:16        
             : Brand of beer: Paulaner and the name is Trappistes Rochefort 8 
and it taste good!
^C2024-02-27 06:37:32.938  INFO 4674 --- [           main] 
el.impl.engine.AbstractCamelContext : Apache Camel 4.5.0-SNAPSHOT (beer-jq) is 
shutting down (timeout:10s)
2024-02-27 06:37:32.951  INFO 4674 --- [           main] 
el.impl.engine.AbstractCamelContext : Routes stopped (total:1 stopped:1 
kamelets:1)
2024-02-27 06:37:32.951  INFO 4674 --- [           main] 
el.impl.engine.AbstractCamelContext :     Stopped route-66b0 
(kamelet://beer-source)
2024-02-27 06:37:32.966  INFO 4674 --- [ntloop-thread-0] 
.http.vertx.VertxPlatformHttpServer : Vert.x HttpServer stopped
2024-02-27 06:37:32.968  INFO 4674 --- [           main] 
el.impl.engine.AbstractCamelContext : Apache Camel 4.5.0-SNAPSHOT (beer-jq) 
shutdown in 29ms (uptime:5h15m)
2024-02-27 06:37:32.968  INFO 4674 --- [           main] 
org.apache.camel.main.MainSupport   : Apache Camel (JBang) 4.5.0-SNAPSHOT 
shutdown


> camel-core - Shutdown time reported is misleading
> -------------------------------------------------
>
>                 Key: CAMEL-20465
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20465
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 4.5.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.x
>
>
> I had a Camel jbang running overnight for 17+ hours, and this morning when I 
> terminate the app, it report the uptime is 5 hours. Its a bit mysterious as 
> its missing 12 hours.
> It was started at
> ~/workspace/deleteme ❯ camel run beer-jq.yaml --metrics                       
>                                                                               
>                       ✘ INT 45s
> 2024-02-26 17:27:42.007  INFO 4674 --- [           main] 
> org.apache.camel.main.MainSupport   : Apache Camel (JBang) 4.5.0-SNAPSHOT is 
> starting
> And then shutdown at:
> 2024-02-27 06:37:29.923  INFO 4674 --- [ - timer://beer] beer-jq.yaml:16      
>                : Brand of beer: Paulaner and the name is Trappistes Rochefort 
> 8 and it taste good!
> ^C2024-02-27 06:37:32.938  INFO 4674 --- [           main] 
> el.impl.engine.AbstractCamelContext : Apache Camel 4.5.0-SNAPSHOT (beer-jq) 
> is shutting down (timeout:10s)
> 2024-02-27 06:37:32.951  INFO 4674 --- [           main] 
> el.impl.engine.AbstractCamelContext : Routes stopped (total:1 stopped:1 
> kamelets:1)
> 2024-02-27 06:37:32.951  INFO 4674 --- [           main] 
> el.impl.engine.AbstractCamelContext :     Stopped route-66b0 
> (kamelet://beer-source)
> 2024-02-27 06:37:32.966  INFO 4674 --- [ntloop-thread-0] 
> .http.vertx.VertxPlatformHttpServer : Vert.x HttpServer stopped
> 2024-02-27 06:37:32.968  INFO 4674 --- [           main] 
> el.impl.engine.AbstractCamelContext : Apache Camel 4.5.0-SNAPSHOT (beer-jq) 
> shutdown in 29ms (uptime:5h15m)
> 2024-02-27 06:37:32.968  INFO 4674 --- [           main] 
> org.apache.camel.main.MainSupport   : Apache Camel (JBang) 4.5.0-SNAPSHOT 
> shutdown



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to