Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20465

camel-core - Shutdown time reported is misleading

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 4.5.0
    • 4.x
    • camel-core
    • None
    • Unknown

    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

      Attachments

        Activity

          People

            Unassigned Unassigned
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: