axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilo Frotscher (JIRA)" <>
Subject [jira] Commented: (AXIS2-653) Handler method "cleanup" is never called
Date Fri, 05 May 2006 04:57:18 GMT
    [ ] 

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:
>      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:
For more information on JIRA, see:

View raw message