Hi all,
Could someone suggest how I might go about building an interceptor that has
similar logic/behaviour as a try/finally clause. For example if I wanted to
add timing logic I would need code to start/stop the timer.
Normally, in code I would do this
// TODO: begin timing
try
{
// invoke something
}
finally
{
// TODO: stop timing
}
But in CXF I can't find a way of doing this with a single interceptor. I would
need to have:
In Interceptor - start timing
Out/InFault/OutFault interceptors - stop timing
To catch all the possible code paths. Is there any easier way of doing this?
Any help appreciated.
Cheers.
Michael Quilleash
Morgan Stanley | Technology
20 Cabot Square | Canary Wharf | Floor 01
London, E14 4QW
Phone: +44 20 7677-4543
[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does not
intend to waive confidentiality or privilege. Use of this email is prohibited
when received in error.