Package com.rabbitmq.client.amqp
Interface Consumer.MessageHandler
- Enclosing interface:
Consumer
- 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 message.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(Consumer.Context context, Message message) Process a message
-
Method Details
-
handle
Process a message- Parameters:
context
- message contextmessage
- message
-