Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 52234 invoked from network); 30 Dec 2009 12:13:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Dec 2009 12:13:29 -0000 Received: (qmail 24997 invoked by uid 500); 30 Dec 2009 12:13:28 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 24929 invoked by uid 500); 30 Dec 2009 12:13:28 -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 24919 invoked by uid 99); 30 Dec 2009 12:13:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Dec 2009 12:13:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.218.211 as permitted sender) Received: from [209.85.218.211] (HELO mail-bw0-f211.google.com) (209.85.218.211) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Dec 2009 12:13:18 +0000 Received: by bwz3 with SMTP id 3so9430763bwz.36 for ; Wed, 30 Dec 2009 04:12:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=eKyEcTC0r57VQyp7I8GvBSz8hynEj3EhA//0r+P2f+A=; b=e20rLJ9oSSi4poKrTikU3JsYE3HcWhmyun2Xo+0pc2qEqfAmj6M+0htcpkNHFsaBtA kNsDgvkX8Im3z88Q4+eBcPRpVdRpHZ4SwgZ6EGNAk1XUSfEfF0VwrSOSUSjWPeq6Cf3V hAM5sXsPcdzbFZ82fLiSxM+qlcvQbCvqbSmcM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=NXSdAslCv8d59xX1KUV8pNIXd6hcCN6rOyOX3O5NCc+Vfxe8AuncvyzSZh/+oe2U0S YsC0Z6VlKE2+5IFL7krGv1AEjFYE6mAhJ6TRxzupizgbREw+KQY6HQvOZRas9bExWjtg pABF/6IZ0XyVCmynIH4ETXnC8FNbp5EcbNZgA= MIME-Version: 1.0 Received: by 10.204.35.139 with SMTP id p11mr5253383bkd.178.1262175178187; Wed, 30 Dec 2009 04:12:58 -0800 (PST) In-Reply-To: <26965934.post@talk.nabble.com> References: <26965934.post@talk.nabble.com> From: Claus Ibsen Date: Wed, 30 Dec 2009 13:12:38 +0100 Message-ID: <5380c69c0912300412s41f3fdc7nd08209f99aa168b2@mail.gmail.com> Subject: Re: File Read using java To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Dec 30, 2009 at 12:09 PM, hjoshi wrote: > > Hi all, > I am a newbie to camel using for first time. > I want to poll a directory for some files. > I want to read and Process those files and then write them to a different > location. > Can someone provide me an example to achieve this in java class. > I dont want to use xml configuration You can read section 1.5 from the free chapter in the Camel in Action book which does this http://www.manning.com/ibsen/ And there are also some newbie documentation at http://camel.apache.org/getting-started.html And the articles section have some good blogs/links for other new users with Camel http://camel.apache.org/articles.html > -- > View this message in context: http://old.nabble.com/File-Read-using-java-tp26965934p26965934.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus