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 27D15DFD5 for ; Thu, 25 Oct 2012 14:07:53 +0000 (UTC) Received: (qmail 60488 invoked by uid 500); 25 Oct 2012 14:07:52 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 60383 invoked by uid 500); 25 Oct 2012 14:07:52 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 56876 invoked by uid 99); 25 Oct 2012 14:06:34 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of ext-rajasekar.3.m@nokia.com does not designate 216.139.236.26 as permitted sender) Date: Thu, 25 Oct 2012 07:06:07 -0700 (PDT) From: rajasekar To: users@camel.apache.org Message-ID: <1351173967867-5721560.post@n5.nabble.com> In-Reply-To: References: <1303903008307-4343283.post@n5.nabble.com> Subject: Re: Trigger start/stop/resume/suspend of a camel route using queue, db MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi , Can you provide me some sample of camel context which uses suspend and resume route . I have requirement to suspend a route ( in a camel-context.xml ) when n number errors occurred calling a http endpoint and stop consuming messages from jms queue for x time and resume this route to start consuming messages from jms queue and send it to http endpoint. Regards Raj -- View this message in context: http://camel.465427.n5.nabble.com/Trigger-start-stop-resume-suspend-of-a-camel-route-using-queue-db-tp4343283p5721560.html Sent from the Camel - Users mailing list archive at Nabble.com.