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(com.google.cloud.pubsub.v1.stub.SubscriberStub subscriber, String subscriptionName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onComplete(org.apache.camel.Exchange exchange)
void
onFailure(org.apache.camel.Exchange exchange)
-
-
-
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 interfaceorg.apache.camel.spi.Synchronization
-
onFailure
public void onFailure(org.apache.camel.Exchange exchange)
- Specified by:
onFailure
in interfaceorg.apache.camel.spi.Synchronization
-
-