[jboss-jira] [JBoss JIRA] Created: (JBESB-325) FileGatewayListener will not always rename
Kevin Conner (JIRA)
jira-events at jboss.com
Thu Jan 4 18:56:26 EST 2007
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