[
https://issues.apache.org/jira/browse/CAMEL-9826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305854#comment-15305854
]
ASF GitHub Bot commented on CAMEL-9826:
---------------------------------------
GitHub user anoordover opened a pull request:
https://github.com/apache/camel/pull/1003
CAMEL-9826: used CountDownLatch to wait for stop
CAMEL-9826: Removed while loop and introduced CountDownLatch to wait for
stop
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anoordover/camel CAMEL-9826
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1003.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1003
----
commit 1552d093786156ccb43eb488a120fb854021f986
Author: Arno Noordover <[email protected]>
Date: 2016-05-29T10:47:05Z
CAMEL-9826: used CountDownLatch to wait for stop
----
> 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
> 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)