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 00555CF2E for ; Fri, 21 Jun 2013 06:19:42 +0000 (UTC) Received: (qmail 66682 invoked by uid 500); 21 Jun 2013 06:19:41 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 66627 invoked by uid 500); 21 Jun 2013 06:19:38 -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 84131 invoked by uid 99); 21 Jun 2013 05:00:23 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of read.pankaj@gmail.com designates 209.85.223.178 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yR6lYK9r0oKYIq40lD/RFQaDcdJn+5Mfjn07qzPc7vM=; b=H7ZHZqOf7SqhdSHq51D/EWY/2MdaSE40WRm8xMous53ldLdXo6wPCM+ZRScgDvESfW M0Kvs/ncmN6RUPbHGjdVY3FGNU7GYdteuDWSZr1ecJstc60gQYyXQqIM2N1w9q5WZxHD S+ZE8kofvXPzhiUMtukBIV5/XAzsyBOVSIu3hhaPOhb7mU8hMQGtGy4vdHKt4BUdW4mq 1fJqN+P7UtcwapexHhlStTEROfSRPhTNJK6Ty9qe7P9t+jP/9r4E6g4CYMo6sBWw6UUk 4mxlcUog+0JAnSy4O7BHDAByEAMTFCiNUDp49lY0vQ8z2GnlGj2HIYhV89pgsgE8jvZu 0qbg== MIME-Version: 1.0 X-Received: by 10.42.152.4 with SMTP id g4mr1713386icw.115.1371790797364; Thu, 20 Jun 2013 21:59:57 -0700 (PDT) Date: Fri, 21 Jun 2013 10:29:57 +0530 Message-ID: Subject: Issue in Camel to process the xml file From: Pankaj Jain To: users@camel.apache.org, dev@camel.apache.org, issues@camel.apache.org Content-Type: multipart/alternative; boundary=90e6ba6e873e2ee3e304dfa2efab X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e873e2ee3e304dfa2efab Content-Type: text/plain; charset=ISO-8859-1 Hi, I am trying to upload the around 100 mb file from one server to different. First I am trying to copy the file from one server to the server where my application is running. Below are the issue I am facing. 1. When file copy is in-progress status, camel application start picking up the file and throwing an exception, file not found because it is used by some other process. How to fix this issue. 2.Before processing the file I am validating the file against the xsd schema and then processed. It processed all the records successfully but at the ends it is throwing an below exception message. Rollback file strategy: org.apache.camel.component.file.strategy.GenericFileRenameProcessStrategy@4c7e10 for file: GenericFile[TestData.xml] CamelLogger file.GenericFileOnCompletion : Caused by: [org.apache.camel.component.file.GenericFileOperationFailedException - Error renaming file from C:\in\TestData.xml] ================ Just I have started to using the camel framework, so does not have an much idea about it. Waiting for response. Can some one help me to fix this issue. Thanks Pankaj Jain --90e6ba6e873e2ee3e304dfa2efab--