A interface which is akin to a gateway in BPMN notation. Concrete
implementations can make a decision as to whether or not a method invocation
should be replayed.
author: a336317
public boolean shouldReplay(MethodInvocation invocation, Exception exception)(Code)
Parameters: invocation - The MethodInvocation object Parameters: exception - Exception thrown on previous invocation attempt True if we should replay the method, false otherwise