Package com.rabbitmq.client.amqp
Interface RpcServer.Handler
- Enclosing interface:
RpcServer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Contract to process a request message and return a reply message.
-
Method Summary
Modifier and TypeMethodDescriptionhandle
(RpcServer.Context ctx, Message request) Process request message.
-
Method Details
-
handle
Process request message.- Parameters:
ctx
- contextrequest
- request message- Returns:
- the reply message
-