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

MongoDB consumer could potentially block during shutdown

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.18.0
    • camel-mongodb
    • None
    • Unknown

    Description

      There is this endless while loop
      https://github.com/apache/camel/blob/master/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbTailingProcess.java#L132

      This should be using a CountDownLatch to await for the stop to complete so there is no endless while loop.

      Attachments

        Issue Links

          Activity

            People

              anoordover Arno Noordover
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: