Class AcknowledgeAsync
java.lang.Object
org.apache.camel.component.google.pubsub.consumer.AcknowledgeAsync
- All Implemented Interfaces:
GooglePubsubAcknowledge
-
Constructor Summary
ConstructorsConstructorDescriptionAcknowledgeAsync(com.google.cloud.pubsub.v1.AckReplyConsumer ackReplyConsumer) -
Method Summary
Modifier and TypeMethodDescriptionvoidack(org.apache.camel.Exchange exchange) Acknowledges message using the correspondingGooglePubsubConstants.ACK_IDvoidnack(org.apache.camel.Exchange exchange) Negative-acknowledges message using the correspondingGooglePubsubConstants.ACK_ID
-
Constructor Details
-
AcknowledgeAsync
public AcknowledgeAsync(com.google.cloud.pubsub.v1.AckReplyConsumer ackReplyConsumer)
-
-
Method Details
-
ack
public void ack(org.apache.camel.Exchange exchange) Description copied from interface:GooglePubsubAcknowledgeAcknowledges message using the correspondingGooglePubsubConstants.ACK_ID- Specified by:
ackin interfaceGooglePubsubAcknowledge
-
nack
public void nack(org.apache.camel.Exchange exchange) Description copied from interface:GooglePubsubAcknowledgeNegative-acknowledges message using the correspondingGooglePubsubConstants.ACK_ID- Specified by:
nackin interfaceGooglePubsubAcknowledge
-