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

Stopping and starting a seda consumer leaks a thread each time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.7, 2.9.4, 2.10.2, 2.11.0
    • None
    • None
    • Unknown

    Description

      Just did something like this:

      for (int i = 0; i < 1000; i++)

      { context.stopRoute("sedaToMock"); context.startRoute("sedaToMock"); }

      and yeah, I had over 1000 threads in my JVM... not good

      Attachments

        Activity

          People

            janstey Jonathan Anstey
            janstey Jonathan Anstey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: