Class AcknowledgeSync

java.lang.Object
org.apache.camel.component.google.pubsub.consumer.AcknowledgeSync
All Implemented Interfaces:
org.apache.camel.spi.Synchronization

public class AcknowledgeSync extends Object implements org.apache.camel.spi.Synchronization
  • Constructor Summary

    Constructors
    Constructor
    Description
    AcknowledgeSync(Callable<com.google.cloud.pubsub.v1.stub.SubscriberStub> subscriberStubSupplier, String subscriptionName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onComplete(org.apache.camel.Exchange exchange)
     
    void
    onFailure(org.apache.camel.Exchange exchange)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.camel.spi.Synchronization

    getRouteSynchronization
  • Constructor Details

    • AcknowledgeSync

      public AcknowledgeSync(Callable<com.google.cloud.pubsub.v1.stub.SubscriberStub> subscriberStubSupplier, String subscriptionName)
  • Method Details

    • onComplete

      public void onComplete(org.apache.camel.Exchange exchange)
      Specified by:
      onComplete in interface org.apache.camel.spi.Synchronization
    • onFailure

      public void onFailure(org.apache.camel.Exchange exchange)
      Specified by:
      onFailure in interface org.apache.camel.spi.Synchronization