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 1F3FFDB5D for ; Mon, 27 Aug 2012 05:42:57 +0000 (UTC) Received: (qmail 8956 invoked by uid 500); 27 Aug 2012 05:42:57 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 8731 invoked by uid 500); 27 Aug 2012 05:42: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 94076 invoked by uid 99); 27 Aug 2012 05:35:19 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of ashwin.pejavar@gmail.com) Date: Sun, 26 Aug 2012 22:34:51 -0700 (PDT) From: Ashwin Pejavar To: users@camel.apache.org Message-ID: <1346045691613-5718105.post@n5.nabble.com> In-Reply-To: References: <1345914804494-5718059.post@n5.nabble.com> Subject: Re: Periodic route activation use case MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thank you for the prompt response guys. I think I have at least three interesting leads, and I am pretty sure at least one will work 1) Use sendEmptyMessageWhenIdle in the route and pause the route when an empty message is detected 2) Extend the DefaultPollingConsumerPollStrategy and override the commit method 3) Extend the CronScheduledRoutePolicy and override the onExchangeDone method. -- View this message in context: http://camel.465427.n5.nabble.com/Periodic-route-activation-use-case-tp5718059p5718105.html Sent from the Camel - Users mailing list archive at Nabble.com.