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

MongoDB Tailable cursor consumer fails to stop on shutdown

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.20.0
    • Fix Version/s: 2.20.3, 2.21.0
    • Labels:
      None
    • Environment:

      Windows 10, Java 1.8

    • Estimated Complexity:
      Novice

      Description

      MongoDB Tailable cursor consumer fails to stop on shutdown(when using Ctrl+C) if collection is not empty. Routes are described in xml file.

      Camel (...) thread #8 - ShutdownTask INFO o.a.c.c.m.MongoDbTailingProcess - Stopping MongoDB Tailable Cursor consumer, bound to collection: db: ..., col: ...
      Camel (...) thread #8 - ShutdownTask INFO o.a.c.c.m.MongoDbTailingProcess - Going to wait for stopping

      When collection is empty, all is ok and I see next line
      Camel (...) thread #8 - ShutdownTask INFO o.a.c.c.m.MongoDbTailingProcess - Stopped MongoDB Tailable Cursor consumer, bound to collection: db: ..., col: ...

        Attachments

          Activity

            People

            • Assignee:
              acosentino Andrea Cosentino
              Reporter:
              Igorko Ihor Paliichuk
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: