You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Pankaj Jain (JIRA)" <ji...@apache.org> on 2013/06/20 20:44:20 UTC

[jira] [Updated] (CAMEL-6472) Rollback file strategy:GenericFileRenameProcessStrategy

     [ https://issues.apache.org/jira/browse/CAMEL-6472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pankaj Jain updated CAMEL-6472:
-------------------------------

    Description: 
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.


  was:
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[OPSIGE_single3.edi]


================
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.


    
> Rollback file strategy:GenericFileRenameProcessStrategy
> -------------------------------------------------------
>
>                 Key: CAMEL-6472
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6472
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 2.10.0
>         Environment: Development
>            Reporter: Pankaj Jain
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira