Class AcknowledgeSync
java.lang.Object
org.apache.camel.component.google.pubsub.consumer.AcknowledgeSync
- All Implemented Interfaces:
GooglePubsubAcknowledge
-
Constructor Summary
ConstructorsConstructorDescriptionAcknowledgeSync(Callable<com.google.cloud.pubsub.v1.stub.SubscriberStub> subscriberStubSupplier, String subscriptionName) -
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
-
AcknowledgeSync
-
-
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
-