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 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