You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2016/05/29 11:29:13 UTC

[jira] [Resolved] (CAMEL-9826) MongoDB consumer could potentially block during shutdown

     [ https://issues.apache.org/jira/browse/CAMEL-9826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-9826.
--------------------------------
    Resolution: Fixed

> MongoDB consumer could potentially block during shutdown
> --------------------------------------------------------
>
>                 Key: CAMEL-9826
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9826
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-mongodb
>            Reporter: Claus Ibsen
>            Assignee: Arno Noordover
>             Fix For: 2.18.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)