@PubSubListener public class AcknowledgementSubscriber extends java.lang.Object
Constructor and Description |
---|
AcknowledgementSubscriber() |
Modifier and Type | Method and Description |
---|---|
void |
onMessage(Animal animal,
io.micronaut.messaging.Acknowledgement acknowledgement) |
@Subscription(value="animals") public void onMessage(Animal animal, io.micronaut.messaging.Acknowledgement acknowledgement)