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

setting DefaultShutdownStrategy.setTimeout(0L) may cause infinite timeout

    XMLWordPrintableJSON

Details

    • Novice

    Description

      defaultShutdownStrategy.setTimeout(0L);

      may give the following when shutting down and inflight exchanges do not complete

      Camel (camel) thread #2 - ShutdownTask INFO org.apache.camel.impl.DefaultShutdownStrategy - Waiting as there are still 2 inflight and pending exchanges to complete, timeout in 0 seconds.
      Camel (camel) thread #2 - ShutdownTask INFO org.apache.camel.impl.DefaultShutdownStrategy - Waiting as there are still 2 inflight and pending exchanges to complete, timeout in -1 seconds.
      Camel (camel) thread #2 - ShutdownTask INFO org.apache.camel.impl.DefaultShutdownStrategy - Waiting as there are still 2 inflight and pending exchanges to complete, timeout in -2 seconds.
      [...]
      Camel (camel) thread #2 - ShutdownTask INFO org.apache.camel.impl.DefaultShutdownStrategy - Waiting as there are still 2 inflight and pending exchanges to complete, timeout in -323 seconds.

      Attachments

        Activity

          People

            njiang Willem Jiang
            pjwalstrom Per Jørgen Walstrøm
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: