On Thu, Aug 27, 2009 at 11:01 AM, Simon Laws<[email protected]> wrote:
> Way back in the mists of time what the default binding used to do was
> trap any "target not found" type exceptions and re-resolve the
> endpoint in that case. Worked OK, easy to do and doesn't lead to a
> resolution on each call.
>
> If you catch the exception, set the EndpointReference status back to
> EndpointReference.WIRED_TARGET_NOT_FOUND and then call
> EndpointReferenceBuilderImpl.runtimeBuild(). If the result of that is
> an endpoint reference in
> EndpointReference.WIRED_TARGET_FOUND_AND_MATCHED status then retry the
> call. If not then throw a runtime exception. That should do the trick.
>
> Simon
>

Nothing is throwing any "target not found" type exceptions. And
doesn't the whole invocation chain need to be recalculated as for
example it could have been a node in the local JVM that was stopped
and the service restarted on a remote node?

   ...ant

Reply via email to