You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Marco Crivellaro (JIRA)" <ji...@apache.org> on 2010/02/12 09:37:33 UTC

[jira] Created: (CAMEL-2466) new option allowing to choose how to produce file using temp file

new option allowing to choose how to produce file using temp file
-----------------------------------------------------------------

                 Key: CAMEL-2466
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2466
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-ftp
    Affects Versions: 2.3.0
            Reporter: Marco Crivellaro
            Priority: Minor


Current produce behavior is:
1- delete final file (if existing)
2- produce temporary file
3- rename temporary to final

Using FTP component as a feed delivery system where most of the time the producer is sending an update on a file I think it would be better producing  in such a way:
1- produce temporary file
2- delete final file
3- rename temporary file to final

It would be great having an option allowing to choose which produce strategy to use

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CAMEL-2466) new option allowing to choose how to produce file using temp file

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-2466:
----------------------------------

    Assignee: Claus Ibsen

> new option allowing to choose how to produce file using temp file
> -----------------------------------------------------------------
>
>                 Key: CAMEL-2466
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2466
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ftp
>    Affects Versions: 2.3.0
>            Reporter: Marco Crivellaro
>            Assignee: Claus Ibsen
>            Priority: Minor
>
> Current produce behavior is:
> 1- delete final file (if existing)
> 2- produce temporary file
> 3- rename temporary to final
> Using FTP component as a feed delivery system where most of the time the producer is sending an update on a file I think it would be better producing  in such a way:
> 1- produce temporary file
> 2- delete final file
> 3- rename temporary file to final
> It would be great having an option allowing to choose which produce strategy to use

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CAMEL-2466) new option allowing to choose how to produce file using temp file

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=57571#action_57571 ] 

Claus Ibsen commented on CAMEL-2466:
------------------------------------

I have added option {{eagerDeleteTargetFile}} to the file producer.

See updated wiki page (takes a couple of hours to be updated on the static html pages)
http://camel.apache.org/file2.html

> new option allowing to choose how to produce file using temp file
> -----------------------------------------------------------------
>
>                 Key: CAMEL-2466
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2466
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ftp
>    Affects Versions: 2.3.0
>            Reporter: Marco Crivellaro
>            Assignee: Claus Ibsen
>            Priority: Minor
>
> Current produce behavior is:
> 1- delete final file (if existing)
> 2- produce temporary file
> 3- rename temporary to final
> Using FTP component as a feed delivery system where most of the time the producer is sending an update on a file I think it would be better producing  in such a way:
> 1- produce temporary file
> 2- delete final file
> 3- rename temporary file to final
> It would be great having an option allowing to choose which produce strategy to use

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CAMEL-2466) new option allowing to choose how to produce file using temp file

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-2466.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.0

trunk: 909998.

Marco feel free to try it on your system

> new option allowing to choose how to produce file using temp file
> -----------------------------------------------------------------
>
>                 Key: CAMEL-2466
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2466
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-ftp
>    Affects Versions: 2.3.0
>            Reporter: Marco Crivellaro
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Current produce behavior is:
> 1- delete final file (if existing)
> 2- produce temporary file
> 3- rename temporary to final
> Using FTP component as a feed delivery system where most of the time the producer is sending an update on a file I think it would be better producing  in such a way:
> 1- produce temporary file
> 2- delete final file
> 3- rename temporary file to final
> It would be great having an option allowing to choose which produce strategy to use

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.