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

Thread leak in camel-jetty component if maxThreads or minThreads property is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.25.0
    • camel-jetty
    • None
    • Unknown

    Description

      If a jetty component is configured as a bean with default thread pool settings, the thread pool get closed along with context.

      If maxThreads,minThreads or both component properties are set, a new QueuedThreadPool is instantiated in JettyHttpComponent class  that  not get closed when the context is stopping.

       
       Attached a reproducer.

       

      camel-jetty-Tleak-reproducer.zip

      Attachments

        1. camel-jetty-Tleak-reproducer.zip
          6 kB
          Luigi De Masi

        Activity

          People

            acosentino Andrea Cosentino
            ldemasi Luigi De Masi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m