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 2E9D87CA0 for ; Mon, 19 Dec 2011 15:00:21 +0000 (UTC) Received: (qmail 10720 invoked by uid 500); 19 Dec 2011 15:00:20 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 10684 invoked by uid 500); 19 Dec 2011 15:00:20 -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 10676 invoked by uid 99); 19 Dec 2011 15:00:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 15:00:20 +0000 X-ASF-Spam-Status: No, hits=3.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_BRBL_LASTEXT,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [87.117.246.105] (HELO ganesha.artcore.com) (87.117.246.105) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2011 15:00:11 +0000 Received: from mail-lpp01m010-f45.google.com ([209.85.215.45]:49971) by ganesha.artcore.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1Rcegx-0002ye-BJ for users@camel.apache.org; Mon, 19 Dec 2011 14:59:51 +0000 Received: by lags15 with SMTP id s15so2555049lag.32 for ; Mon, 19 Dec 2011 06:59:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.113.131 with SMTP id iy3mr16280513lab.39.1324306788763; Mon, 19 Dec 2011 06:59:48 -0800 (PST) Received: by 10.152.6.72 with HTTP; Mon, 19 Dec 2011 06:59:48 -0800 (PST) Date: Mon, 19 Dec 2011 14:59:48 +0000 Message-ID: Subject: Pausing Routes From: Tom Howe To: users@camel.apache.org Content-Type: multipart/alternative; boundary=f46d04083875b7c89604b47333f2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ganesha.artcore.com X-AntiAbuse: Original Domain - camel.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - artcore.com X-Virus-Checked: Checked by ClamAV on apache.org --f46d04083875b7c89604b47333f2 Content-Type: text/plain; charset=ISO-8859-1 Hi, If we have a route where we are consuming messages and posting to a REST service which occasionally returns 503 when busy, is there a way to pause the route for a while so we don't hammer the busy REST service? We also have other routes in the same Camelcontext that we would not want to pause. We have tried stopping/starting the route but this seems slow - I suspect it is starting stopping the underlying thread pools. Thanks, Tom --f46d04083875b7c89604b47333f2--