This content has been marked as final.
Show 1 reply
-
1. Re: Custom client interceptor
paul.robinson Feb 23, 2004 10:24 AM (in response to maaaah)Hello,
I may have the wrong end of the stick, but can't you just re-call the invoke method:
public class TestInterceptor extends Interceptor {
public Object invoke(final Invocation mi) throws Throwable
{
try
{
return getNext().invoke(mi);
}
catch (SomeException e)
{
invoke(mi);
}
}
You wouldn't need the while loop this way.
Hope this helps,
Paul Robinson