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

MongoDB consumer could potentially block during shutdown

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.18.0
    • Component/s: camel-mongodb
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: