From my comment :
Handle this behavior in code. It’s not the job of histrists to know your “special” business logic. As an example
private final static int MAX_RETRIES = 5;
@HystrixCommand(fallbackMethod = "defaultInvokcation")
public String getRemoteBro(String name) {
return(executeRemoteService(name));
}
private String executeRemoteService(String serviceName) {
for (int i = 0; i < MAX_RETRIES; i++) {
try {
return reallyExecuteRemoteService(serviceName);
} catch (ServiceException se) {
}
}
throw new RuntimeException("bam");
}
, ;) reallyExecuteRemoteService - ServiceReturnMessage .