Interface ProtonDeliveryListener
- All Superinterfaces:
org.springframework.amqp.core.MessageListener
- All Known Subinterfaces:
AcknowledgingProtonDeliveryListener
- All Known Implementing Classes:
AmqpMessagingListenerAdapter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ProtonDeliveryListener
extends org.springframework.amqp.core.MessageListener
A message listener extension to process ProtonJ native
Delivery objects.- Since:
- 4.1
-
Method Summary
Modifier and TypeMethodDescriptionvoidonDelivery(org.apache.qpid.protonj2.client.Delivery delivery) Process ProtonJDelivery.default voidonMessage(org.springframework.amqp.core.Message message) Methods inherited from interface org.springframework.amqp.core.MessageListener
containerAckMode, isAsyncReplies, onMessageBatch
-
Method Details
-
onDelivery
-
onMessage
default void onMessage(org.springframework.amqp.core.Message message) - Specified by:
onMessagein interfaceorg.springframework.amqp.core.MessageListener
-