Introduce a clean-up phase after SEND
-------------------------------------
Key: XFIRE-745
URL: http://jira.codehaus.org/browse/XFIRE-745
Project: XFire
Issue Type: Improvement
Affects Versions: 1.2.2
Reporter: Greg Kohring
Assigned To: Dan Diephouse
Priority: Minor
At times it may be necessary to perform some work once an operation has
completed and the reply has been sent. For example, if one is sending large
files via MTOM, then one may want to lock the file while it is being sent
(which for Gigabyte range files might be a few minutes) and then unlock the
file once the data has left the server.
The current work around we are using is to create a Finish handler which
executes after the OutMessageSender handler
public class Finish extends AbstractHandler
{
public Finish(){
super();
setPhase( Phase.SEND );
after( "org.codehaus.xfire.handler.OutMessageSender" );
}
...
...
}
Obviously, this is not a robust solution and it would be more useful to
introduce a new phase called "FINISH" which executes once the send phase has
completed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email