Interface GooglePubsubAcknowledge
- All Known Implementing Classes:
AcknowledgeAsync,AcknowledgeSync
public interface GooglePubsubAcknowledge
Can be used for acknowledging or negative-acknowledging a PubSub message when using the consumer.
-
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
-
Method Details
-
ack
void ack(org.apache.camel.Exchange exchange) Acknowledges message using the correspondingGooglePubsubConstants.ACK_ID -
nack
void nack(org.apache.camel.Exchange exchange) Negative-acknowledges message using the correspondingGooglePubsubConstants.ACK_ID
-