Class AcknowledgeAsync
java.lang.Object
org.apache.camel.component.google.pubsub.consumer.AcknowledgeAsync
- All Implemented Interfaces:
org.apache.camel.spi.Synchronization
-
Constructor Summary
ConstructorsConstructorDescriptionAcknowledgeAsync(com.google.cloud.pubsub.v1.AckReplyConsumer ackReplyConsumer) -
Method Summary
Modifier and TypeMethodDescriptionvoidonComplete(org.apache.camel.Exchange exchange) voidonFailure(org.apache.camel.Exchange exchange) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.spi.Synchronization
getRouteSynchronization
-
Constructor Details
-
AcknowledgeAsync
public AcknowledgeAsync(com.google.cloud.pubsub.v1.AckReplyConsumer ackReplyConsumer)
-
-
Method Details
-
onComplete
public void onComplete(org.apache.camel.Exchange exchange) - Specified by:
onCompletein interfaceorg.apache.camel.spi.Synchronization
-
onFailure
public void onFailure(org.apache.camel.Exchange exchange) - Specified by:
onFailurein interfaceorg.apache.camel.spi.Synchronization
-