de.fzj.unicore.wsrflite.xfire
Interface ReliableProxy.RetryDecider

Enclosing class:
ReliableProxy

public static interface ReliableProxy.RetryDecider

this interface encapsulates the rules that shall be followed when dealing with failed webservice calls

Author:
schuller

Method Summary
 boolean retry(Method m, Throwable error, int numberOfUnsuccessfulTries)
          in case of a failed attempt to send a message, should it be retried?
 

Method Detail

retry

boolean retry(Method m,
              Throwable error,
              int numberOfUnsuccessfulTries)
in case of a failed attempt to send a message, should it be retried?

Parameters:
client -
m - - the method to invoke
error - - the error that has occured
numberOfUnsuccessfulTries - - the number of unsuccessful attempts to make the call
Returns:


Copyright © 2010. All Rights Reserved.