[ http://issues.apache.org/jira/browse/AXIS2-653?page=comments#action_12377961 ]
Thilo Frotscher commented on AXIS2-653: --------------------------------------- IMHO it would be very important for handlers to be notified if something went wrong, so that they have a chance to redo actions that were caused by the message causing the error. Imagine a handler responsible for billing, which tracks incoming messages to charge clients afterwards. A client would not want to pay for request that didn't go through due to exceptions that occured - let's say - in a logging handler that was invoked after the billing handler. Axis 1.x had a very good mechanims, in which all prior handlers were informed when an error occured in a subsequent handler. Axis2 should have this, too. Regarding to cleanup: handlers should be able to cleanup the ressources they used (e.g. database connections etc) > Handler method "cleanup" is never called > ---------------------------------------- > > Key: AXIS2-653 > URL: http://issues.apache.org/jira/browse/AXIS2-653 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Components: core > Versions: 1.0 > Reporter: Thilo Frotscher > > 1) My IDE couldn't find any references to method "cleanup" in the Axis2 > source code. It's never called... > 2) What happens if the handler's invoke method thows a fault? Javadoc for > "invoke" says that "onFault" would be called. But there is no such method... > 3) User guide, page 4 > - mentions a method called "revoke". There is no such method in interface > Handler. > - refers to green lines in sample configuration...there are no green lines > - sample configuration contains mistakes > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
