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

camel-catalog-maven - Add stop method to cleanup connections

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.20.1
    • Fix Version/s: 2.20.2, 2.21.0
    • Component/s: camel-catalog
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Make it possible to cleanup the http connections that MultiThreadedHttpConnectionManager may leak.

      For example from testing camel-idea-plugin

      Failed tests:
      CamelProjectComponentTestIT>PlatformTestCase.v:640->ModuleTestCase.tearDown:79->IdeaTestCase.tearDown:49->PlatformTestCase.tearDown:517->PlatformTestCase.q:503 Thread leaked: Thread[MultiThreadedHttpConnectionManager cleanup,6,main]; WAITING (true)
      — its stacktrace:
      at java.lang.Object.wait(Native Method)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
      at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ReferenceQueueThread.run(MultiThreadedHttpConnectionManager.java:1122)

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: