Class AcknowledgeSync

  • All Implemented Interfaces:
    org.apache.camel.spi.Synchronization

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

      • AcknowledgeSync

        public AcknowledgeSync​(com.google.cloud.pubsub.v1.stub.SubscriberStub subscriber,
                               String subscriptionName)
    • Method Detail

      • 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