public interface ChannelAwareMessageListener
| Modifier and Type | Method and Description |
|---|---|
void |
onMessage(Message message,
com.rabbitmq.client.Channel channel)
Callback for processing a received Rabbit message.
|
void onMessage(Message message, com.rabbitmq.client.Channel channel) throws Exception
Implementors are supposed to process the given Message, typically sending reply messages through the given Session.
message - the received AMQP message (never null)channel - the underlying Rabbit Channel (never null)Exception - Any.