Package org.distributeme.core.failing
Class RetryCallOnce
java.lang.Object
org.distributeme.core.failing.RetryCallOnce
- All Implemented Interfaces:
FailingStrategy
This failing strategy only retries the call once. This is useful in combination with failing aware routers, because the strategy itself will send the
call to the same service.
- Version:
- $Id: $Id
- Author:
- lrosenberg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncallFailed(ClientSideCallContext context) What should happen if a call is failed.
-
Constructor Details
-
RetryCallOnce
public RetryCallOnce()
-
-
Method Details
-
callFailed
What should happen if a call is failed.- Specified by:
callFailedin interfaceFailingStrategy- Parameters:
context- aClientSideCallContextobject.- Returns:
- a
FailDecisionobject.
-