Interface GenericHandler<P>
- Type Parameters:
- P- the expected- payloadtype.
- 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 interface GenericHandler<P>
A functional interface to specify 
MessageHandler
 logic with Java 8 Lambda expression:
 
 
  .<Integer>handle((p, h) -> p / 2)
 
 - Since:
- 5.0
- Author:
- Artem Bilan
- 
Method SummaryModifier and Type Method Description Objecthandle(P payload, MessageHeaders headers)