[jboss-jira] [JBoss JIRA] Commented: (JBESB-325) FileGatewayListener will not always rename
Kevin Conner (JIRA)
jira-events at jboss.com
Thu Jan 4 19:14:26 EST 2007
[ http://jira.jboss.com/jira/browse/JBESB-325?page=comments#action_12349584 ]
Kevin Conner commented on JBESB-325:
------------------------------------
Code changed in revision 8695
> FileGatewayListener will not always rename
> ------------------------------------------
>
> Key: JBESB-325
> URL: http://jira.jboss.com/jira/browse/JBESB-325
> Project: JBoss ESB
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Affects Versions: 4.0 CR1
> Reporter: Kevin Conner
> Assigned To: Kevin Conner
> Fix For: 4.0
>
>
> The FileGatewayListener provides a mechanism to rename the work file as it progresses through the process. The listener achieves this by using the File.renameTo method but, unfortunately, there are a number of circumstances in which this would fail.
> The code should be modified to attempt a copy and delete of the file when a rename fails.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list