Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCC5618791 for ; Fri, 26 Feb 2016 19:55:59 +0000 (UTC) Received: (qmail 43465 invoked by uid 500); 26 Feb 2016 19:55:59 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 43415 invoked by uid 500); 26 Feb 2016 19:55:59 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 43403 invoked by uid 99); 26 Feb 2016 19:55:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 19:55:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9E87F1A08D8 for ; Fri, 26 Feb 2016 19:55:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.429 X-Spam-Level: * X-Spam-Status: No, score=1.429 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id L_XXERbhegRS for ; Fri, 26 Feb 2016 19:55:57 +0000 (UTC) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6D9095F39D for ; Fri, 26 Feb 2016 19:55:57 +0000 (UTC) Received: by mail-oi0-f51.google.com with SMTP id k67so12450596oia.3 for ; Fri, 26 Feb 2016 11:55:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=GZZMplq2h0MAJ4QqG3448O52vMQscIaabC2o63ucZNc=; b=R6t93LokpPRAr0MMvPjIQCpDxuEQw+3dmn7nrn0CJ276IwS+SQUwIXIqQFezv0r7Er keGq0LumHq+qpVaYGEl7s1XGIPNIef0PUtSVFH+gqeEQtuC2u6y7gOhKOSO9cyiwGDGn jB0A77egPmzxlD1igDrRFe3e8osQUHXloJ0ePFttKFjdOvhtYIK3fnYNnGa03DFfUZTg Zl27TO4TIjDU6gO9q0poS68sLseAfQArh5bihZJhu7TBAoEX750gUKl/GyQs7tGCulgd gQ5/JmhFizaaoSm9bo3nvWq3N06KGQIaLP4aklLX9Zp9L+ZQRMRmNNYKA0eRqY/5aCVG 1Iwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=GZZMplq2h0MAJ4QqG3448O52vMQscIaabC2o63ucZNc=; b=DlX4lBVuRvh13cL8DgyO/IH6A84HP2Z16cnBjbLoqKOXUXTQStjzMG30oVC+kBS51K BqeoHPN0qBb6FEsBPiJ+9lcYQgKPwpvbSxlgQ/QWBVE98M+rd1jAUy8Iy4eHUmneexdk MIhYcBsUaYDBHtgJXw4KNG2Qk4+/c2X7wx//hiokHpUndsUz5UgQt1tFIEjFie/A44gp 9HYZrEwYMVBfBMdEG/FETPqUqkyLGyE18dFJLIWhmKY5dg/0eXG+FjSmV71oVOOGdyLR yG7ycq9utut7eK8uRzbcketl/FmgSXyL4ki/WioIeR0DklUtZOWfC3bOYqN9ohfZhG/y 115w== X-Gm-Message-State: AD7BkJJ39wX4tL5UCX0JzjK4nwLx4BTKOAOeFZM3PQlzPIDWcVggA2TremSDPj/BqwbWVbSiKildI5lpw2OMJA== MIME-Version: 1.0 X-Received: by 10.202.243.193 with SMTP id r184mr2602807oih.24.1456516551652; Fri, 26 Feb 2016 11:55:51 -0800 (PST) Received: by 10.202.215.193 with HTTP; Fri, 26 Feb 2016 11:55:51 -0800 (PST) Date: Fri, 26 Feb 2016 12:55:51 -0700 Message-ID: Subject: Can't shut down due to inflight and pending exchanges From: David Hoffer To: users@camel.apache.org Content-Type: multipart/alternative; boundary=94eb2c095d16abbb24052cb1af12 --94eb2c095d16abbb24052cb1af12 Content-Type: text/plain; charset=UTF-8 For some reason we are getting the following message from the DefaultShutdownStrategy "Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 300 seconds." Which causes our app to not shut down for 5 minutes. This is happening although there was no work for the app to do. E.g. we run as a service, have lots of routes doing file and sftp work but in this case the app starts no work to process but it gives this message on service shutdown. (Happens also when there was work to do.) What might be this 1 exchange that is processing? How can I determine what it is? Can I change the shut down strategy to cancel what might be occurring? -Dave --94eb2c095d16abbb24052cb1af12--