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 C2AE643E3 for ; Tue, 5 Jul 2011 13:27:48 +0000 (UTC) Received: (qmail 28746 invoked by uid 500); 5 Jul 2011 13:27:48 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 28707 invoked by uid 500); 5 Jul 2011 13:27:47 -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 28691 invoked by uid 99); 5 Jul 2011 13:27:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 13:27:47 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of taariql@gmail.com designates 209.85.210.45 as permitted sender) Received: from [209.85.210.45] (HELO mail-pz0-f45.google.com) (209.85.210.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 13:27:42 +0000 Received: by pzk30 with SMTP id 30so2207819pzk.32 for ; Tue, 05 Jul 2011 06:27:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=sYrXy+5SOEIQxBLW8ZnfpALRVqg4nlb0wsgXcM3WGog=; b=idxEF1e0ei8fAivHusP9xWywh7L91ReZ1Q0Nma1kNCyKuVueI1otDW2SviZyZMCbHu SryLUa06sJ8T25pLz5MYqm1buS8rmD2WKWXtL5k9L1mnz4vi0EcFWaNgQpqKyptO3/yC FBoVWtWfOJcfTM+9TNwGxP8LjNHQQCGV+xHo0= MIME-Version: 1.0 Received: by 10.68.60.225 with SMTP id k1mr8917570pbr.443.1309872442175; Tue, 05 Jul 2011 06:27:22 -0700 (PDT) Received: by 10.68.52.169 with HTTP; Tue, 5 Jul 2011 06:27:22 -0700 (PDT) In-Reply-To: <1309872049671-4553224.post@n5.nabble.com> References: <1309872049671-4553224.post@n5.nabble.com> Date: Tue, 5 Jul 2011 15:27:22 +0200 Message-ID: Subject: Re: File reading and writing issue From: Taariq Levack To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Try file://inputdir/?noop=3Dtrue noop =09 Default : false =09 If true, the file is not moved or deleted in any way. This option is good for readonly data, or for ETL type requirements. If noop=3Dtrue, Camel will set idempotent=3Dtrue as well, to avoid consuming the same files over and over again. >From http://camel.apache.org/file2.html Taariq On Tue, Jul 5, 2011 at 3:20 PM, Gnanaguru S wrote: > > Hi > > This code was successful. > > > > > But here , when i place a xml file in inputdirectory, it is moving out of > that folder !. I want it just to copied or the to be just read and move t= o > the queue. > > Also from the output queue, i want the contents to be written in a peculi= ar > file namely: output.xml. > ( " > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 " ) > > Since tried with this code, it didnt worked ( uri=3D"file:target?fileName=3Doutput.xmll"/> ) > > Kindly help me out > > > > Cheers > Guru > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/File-read= ing-and-writing-issue-tp4553224p4553224.html > Sent from the Camel - Users mailing list archive at Nabble.com.