- Enclosing interface:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface MatsEndpoint.ProcessReturnLambda<R,
ProcessLambdathat makes it possible to do a "return replyDto" at the end of the stage, which is just a convenient way to invoke
MatsEndpoint.ProcessContext.reply(Object). Used for the last process stage of a multistage endpoint.
(MatsEndpoint.ProcessContext<R> ctx, S state, I msg) throws MatsEndpoint.MatsRefuseMessageException