@FunctionalInterface public static interface AmqpSubscriptionCreator.AmqpMessageHandler
Consumer.handleDelivery(String, Envelope, AMQP.BasicProperties, byte[]) interface to
additionally decide the AmqpSubscriptionCreator.ReceiptAction to be handled by the general abstraction provided by
AmqpSubscriptionCreator.| Modifier and Type | Method and Description |
|---|---|
AmqpSubscriptionCreator.ReceiptAction |
handleDelivery(String consumerTag,
com.rabbitmq.client.Envelope envelope,
com.rabbitmq.client.AMQP.BasicProperties properties,
byte[] body)
Handles a message received via AMQP.
|
AmqpSubscriptionCreator.ReceiptAction handleDelivery(String consumerTag, com.rabbitmq.client.Envelope envelope, com.rabbitmq.client.AMQP.BasicProperties properties, byte[] body) throws IOException
AmqpSubscriptionCreator.ReceiptAction needs to be returned.consumerTag - the AMQP consumer tagenvelope - message Envelopeproperties - message header propertiesbody - raw message bodyIOException - expected to be thrown by further method calls involving AMQP communicationConsumer.handleDelivery(String, Envelope, AMQP.BasicProperties, byte[])Copyright © 2025. All rights reserved.