Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DA1E5200B11 for ; Sun, 29 May 2016 13:29:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D8B0F160A2C; Sun, 29 May 2016 11:29:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2C1281609AD for ; Sun, 29 May 2016 13:29:14 +0200 (CEST) Received: (qmail 37046 invoked by uid 500); 29 May 2016 11:29:13 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 37014 invoked by uid 99); 29 May 2016 11:29:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 May 2016 11:29:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1E13B2C1F62 for ; Sun, 29 May 2016 11:29:13 +0000 (UTC) Date: Sun, 29 May 2016 11:29:13 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-9826) MongoDB consumer could potentially block during shutdown MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 29 May 2016 11:29:15 -0000 [ https://issues.apache.org/jira/browse/CAMEL-9826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-9826: ------------------------------- Assignee: Arno Noordover > 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)