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 279D5DE67 for ; Wed, 7 Nov 2012 05:32:34 +0000 (UTC) Received: (qmail 22363 invoked by uid 500); 7 Nov 2012 05:32:33 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 22326 invoked by uid 500); 7 Nov 2012 05:32:33 -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 6543 invoked by uid 99); 7 Nov 2012 05:24:45 -0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Date: Tue, 6 Nov 2012 21:24:19 -0800 (PST) From: Denis S To: users@camel.apache.org Message-ID: <1352265859780-5722272.post@n5.nabble.com> Subject: How to process a file several times? 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, I have the following Camel route: So, the route take CSV files from import folder and submits them for processing. I implemented custom fileProcessingStrategy and sorter. I need to process one of the files twice. The way I found: I'm renaming it at commit phase of the first processing. But I suspect rhere is more native way to do this. May be to raise an exception at commit phase for redelivery? Thanks, Denis. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-process-a-file-several-times-tp5722272.html Sent from the Camel - Users mailing list archive at Nabble.com.