Interface MessagingEntryPoint.Handler<T>
- Type Parameters:
T- service type
- Enclosing class:
MessagingEntryPoint
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Invocation of a declarative messaging handler.
-
Method Summary
-
Method Details
-
handle
Invoke the handler for one incoming message.- Parameters:
serviceInstance- intercepted service instancemessage- incoming message- Returns:
- produced message for a processor, or empty for a terminal consumer
- Throws:
RuntimeException- if invocation fails
-