]
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: