public class DefaultPubSubAcknowledgement
extends java.lang.Object
implements io.micronaut.messaging.Acknowledgement
Acknowledgement
contract.Constructor and Description |
---|
DefaultPubSubAcknowledgement(com.google.cloud.pubsub.v1.AckReplyConsumer ackReplyConsumer) |
Modifier and Type | Method and Description |
---|---|
void |
ack() |
boolean |
isClientAck() |
void |
nack() |
public DefaultPubSubAcknowledgement(com.google.cloud.pubsub.v1.AckReplyConsumer ackReplyConsumer)
public void ack() throws io.micronaut.messaging.exceptions.MessageAcknowledgementException
ack
in interface io.micronaut.messaging.Acknowledgement
io.micronaut.messaging.exceptions.MessageAcknowledgementException
public void nack() throws io.micronaut.messaging.exceptions.MessageAcknowledgementException
nack
in interface io.micronaut.messaging.Acknowledgement
io.micronaut.messaging.exceptions.MessageAcknowledgementException
public boolean isClientAck()