public class WrappingPublisher extends TrivialProxyService implements Publisher
| Constructor and Description |
|---|
WrappingPublisher(Publisher<PublishMetadata> wirePublisher,
MessageTransformer<com.google.pubsub.v1.PubsubMessage,Message> transformer) |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<String> |
publish(com.google.pubsub.v1.PubsubMessage message) |
handlePermanentError, start, stopaddServices, addServices, doStart, doStop, onPermanentErroraddListener, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsyncpublic WrappingPublisher(Publisher<PublishMetadata> wirePublisher, MessageTransformer<com.google.pubsub.v1.PubsubMessage,Message> transformer) throws com.google.api.gax.rpc.ApiException
com.google.api.gax.rpc.ApiExceptionpublic com.google.api.core.ApiFuture<String> publish(com.google.pubsub.v1.PubsubMessage message)
publish in interface com.google.cloud.pubsub.v1.PublisherInterfaceCopyright © 2021 Google LLC. All rights reserved.