Class FirstInvocationErrorConsumer

java.lang.Object
dev.getelements.elements.rt.routing.FirstInvocationErrorConsumer
All Implemented Interfaces:
InvocationErrorConsumer

public class FirstInvocationErrorConsumer extends Object implements InvocationErrorConsumer
A type of InvocationErrorConsumer which accepts an instance of Throwable and forwards it to the delegate. Only the first error is relayed, and all others simply ignored as only one call needs to fail for aggregation to fail.